bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58356] xgettext does not reject bogus file names when emitting fil


From: Bruno Haible
Subject: [bug #58356] xgettext does not reject bogus file names when emitting file references
Date: Tue, 12 May 2020 11:07:34 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Update of bug #58356 (project gettext):

                Category:                    None => Programmer tools       
                 Summary: xgettext does not escape special characters in
comments => xgettext does not reject bogus file names when emitting file
references

    _______________________________________________________

Follow-up Comment #1:

> It is, of course, not a valuable feature to be able to process filenames
with embedded commas or newlines.

True. The cost of such a feature - namely, that PO editors that want to show
the files need to unescape the file names - would not be worth the benefit. It
would complicate the PO file format specification for too little benefit.

> A simple solution would be to just throw a fatal error for such cases.

Agreed.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58356>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]