>Number: 5399 >Category: mod_include >Synopsis: at exec cmd cgi-arguments are changed (translated e.g. from >ä to ä) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 1 04:50:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3,1.3.6 >Environment: Linux oma 2.0.36 #4 Tue May 11 15:05:48 CEST 1999 i686 unknown Linux xarch 2.2.12 #1 SMP Wed Nov 3 12:25:49 CET 1999 i686 unknown Linux 0033.reinisch.at 2.2.10 #4 Tue Jul 20 17:01:36 MEST 1999 i686 unknown >Description: <!--#exec cmd="perl metatest.cgi keywords '--- ß - ä - ö - ü ---'" --> produces: meta name="keywords" content="--- ß - ä - ö - ü ---" instaed of: meta name="keywords" content="--- ß - ä - ö - ü ---"
only submitted arguments are translated, other cgi "print" work fine. >How-To-Repeat: see: http://reinisch.at/tttt/xxx.shtml how it is executed: --------------- <!--#exec cmd="perl metatest.cgi keywords '--- ß - ä - ö - ü ---'" --> ---EOD--------- wrong output via exec cmd (execution at command-line works fine): --------------- meta name="keywords" content="--- ß - ä - ö - ü ---,--- ß - ä - ö - ü ---" ---EOD--------- how it should look like: --------------- meta name="keywords" content="--- ß - ä - ö - ü ---,--- ß - ä - ö - ü ---" ---EOD--------- this is metatest.cgi: --------------- #!/usr/bin/perl $keywords_glob='--- ß - ä - ö - ü ---,'; print " meta name=\""[EMAIL PROTECTED]"\" content=\""[EMAIL PROTECTED]'_glob'[EMAIL PROTECTED]"\" "; ---EOD--------- >Fix: sorry, no >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]