diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2014-09-08 13:46:48 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2014-09-08 14:00:19 +0300 |
commit | 35a7b29421e03274736e1b7f5c810b0de7c7da9e (patch) | |
tree | f462bdac0ef69beda77122d5641fd335a0ed49dd /tests/rpmgeneral.at | |
parent | ace7fe9d583863a0195833bf87a3bc8005d22688 (diff) | |
download | rpm-35a7b29421e03274736e1b7f5c810b0de7c7da9e.tar.gz |
Add utf-8 validation to librpmbuild, take 1 (ticket #30, RhBug:948712, ...)
- This adds brutally simple utf-8 validation to spec parse & package
construction: all string-class tags in headers are checked regardless
of other tag semantics.
- Parse-time validation is optional via RPMSPEC_NOUTF8
flag, but package construction time is required as we want to
stomp RPMTAG_ENCODING to all packages that pass. What is always
optional is whether non-valid utf-8 strings fail the build, defaulting
to off (but distros probably want to enable it)
- Note we dont give a damn about the spec itself, only what ends up in
packages: strings can come from numerous other sources than spec
directly, and OTOH who cares if eg spec comments are non-utf?
Diffstat (limited to 'tests/rpmgeneral.at')
-rw-r--r-- | tests/rpmgeneral.at | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at index d6bb08258..91ee54ba6 100644 --- a/tests/rpmgeneral.at +++ b/tests/rpmgeneral.at @@ -78,6 +78,7 @@ DISTTAG DISTURL DSAHEADER E +ENCODING ENHANCEFLAGS ENHANCENAME ENHANCENEVRS |