<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PERL 5.6: query params problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-5-6-query-params-problem/m-p/2755782#M722198</link>
    <description>Hi,&lt;BR /&gt;I am having an issue with Apache and/or PERL whereby in the URL '&amp;amp;' characters are being replaced with ';'. This is the HP version of Apache 1.3.19.23 on HP-UX 11i&lt;BR /&gt;and PERL 5.6. &lt;BR /&gt;&lt;BR /&gt;A request like&lt;BR /&gt;http://hostname/cgi-bin/test.cgi?nameone=123&amp;amp;nametwo=1&lt;BR /&gt;&lt;BR /&gt;after the PERL script (using the CGI pragma) parses the URL and redirects to a &lt;BR /&gt;landing page such as&lt;BR /&gt;http://hostname/redirectedpage?nameone=123;nametwo=1&lt;BR /&gt;&lt;BR /&gt;however the &amp;amp; becomes a ';' and the page cannot be displayed. When the script is changed to use the PERL 5.005 version this works correctly. However from what I have read&lt;BR /&gt;so far the web server should be able to handle the ';'. &lt;BR /&gt;&lt;BR /&gt;anybody any ideas?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;</description>
    <pubDate>Mon, 01 Jul 2002 17:15:59 GMT</pubDate>
    <dc:creator>Ciaran Byrne</dc:creator>
    <dc:date>2002-07-01T17:15:59Z</dc:date>
    <item>
      <title>PERL 5.6: query params problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-5-6-query-params-problem/m-p/2755782#M722198</link>
      <description>Hi,&lt;BR /&gt;I am having an issue with Apache and/or PERL whereby in the URL '&amp;amp;' characters are being replaced with ';'. This is the HP version of Apache 1.3.19.23 on HP-UX 11i&lt;BR /&gt;and PERL 5.6. &lt;BR /&gt;&lt;BR /&gt;A request like&lt;BR /&gt;http://hostname/cgi-bin/test.cgi?nameone=123&amp;amp;nametwo=1&lt;BR /&gt;&lt;BR /&gt;after the PERL script (using the CGI pragma) parses the URL and redirects to a &lt;BR /&gt;landing page such as&lt;BR /&gt;http://hostname/redirectedpage?nameone=123;nametwo=1&lt;BR /&gt;&lt;BR /&gt;however the &amp;amp; becomes a ';' and the page cannot be displayed. When the script is changed to use the PERL 5.005 version this works correctly. However from what I have read&lt;BR /&gt;so far the web server should be able to handle the ';'. &lt;BR /&gt;&lt;BR /&gt;anybody any ideas?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 17:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-5-6-query-params-problem/m-p/2755782#M722198</guid>
      <dc:creator>Ciaran Byrne</dc:creator>
      <dc:date>2002-07-01T17:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: PERL 5.6: query params problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-5-6-query-params-problem/m-p/2755783#M722199</link>
      <description>From the CGI.pm documentation, there appears&lt;BR /&gt;to have been a change in the CGI spec at some&lt;BR /&gt;point.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; -newstyle_urls&lt;BR /&gt;&amp;gt;&amp;gt; Separate the name=value pairs in CGI parameter query strings&lt;BR /&gt;&amp;gt;&amp;gt; with semicolons rather than ampersands.  For example:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;  ?name=fred;age=24;favorite_color=3&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt; Semicolon-delimited query strings are always accepted, but will&lt;BR /&gt;&amp;gt;&amp;gt; not be emitted by self_url() and query_string() unless the&lt;BR /&gt;&amp;gt;&amp;gt; -newstyle_urls pragma is specified.&lt;BR /&gt;&lt;BR /&gt;I still use '&amp;amp;' instead of ';'.  Perhaps the Perl 5.6 version&lt;BR /&gt;of CGI.pm prefers the ';' style, or maybe the the CGI uses&lt;BR /&gt;-newstyle_urls.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jul 2002 19:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-5-6-query-params-problem/m-p/2755783#M722199</guid>
      <dc:creator>Gregory Fruth</dc:creator>
      <dc:date>2002-07-02T19:56:50Z</dc:date>
    </item>
  </channel>
</rss>

