[Bug 10075] New: Extend CGI to provide a param_utf8_decode method
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 Bug ID: 10075 Summary: Extend CGI to provide a param_utf8_decode method Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: tomascohen@gmail.com The key idea is to provide a way to avoid writing decode/encode stuff every time we read a param from CGI. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 17658 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17658&action=edit Bug 10075 - Extend CGI and overload the param method to one that decodes utf8 by default The key idea is to provide a way to avoid writing decode stuff every time we read a param from CGI. Adds a method for explicitly not decoding input (for images, iso data, etc). Regards To+ Sponsored-by: Universidad Nacional de Córdoba -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #2 from M. de Rooy <m.de.rooy@rijksmuseum.nl> --- I do not oppose to this idea, but have some questions: Why not use -utf8 on CGI? Should you really add a no_decode parameter? It is a rather complicated way of using CGI without this wrapper. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 Ketan Kulkarni <ketan@carvingit.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ketan@carvingit.com --- Comment #3 from Ketan Kulkarni <ketan@carvingit.com> --- I am working on a related bug - 6554. utf decoding needs to be done in a few places. Would be great if people submit more ideas/preferences here. Ketan (In reply to M. de Rooy from comment #2)
I do not oppose to this idea, but have some questions: Why not use -utf8 on CGI? Should you really add a no_decode parameter? It is a rather complicated way of using CGI without this wrapper.
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11944 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- With 11944, this will certainly become invalid. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10075 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Tomás Cohen Arazi <tomascohen@gmail.com> --- This is not needed, as we patched all cgi files to have 'use CGI qw (-utf8)' instead. *** This bug has been marked as a duplicate of bug 11944 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org