httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14518] New: - QUESY_STRING parts not incorporated by mod_rewrite
Date Wed, 13 Nov 2002 18:28:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14518>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14518

QUESY_STRING parts not incorporated by mod_rewrite

           Summary: QUESY_STRING parts not incorporated by mod_rewrite
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: michael.teitler@cetelem.fr


Hi,

QUESY_STRING parts is not incorporated <- bad test :

  if (r->args != NULL &&
      r->uri == r->unparsed_uri) {

instead of :

  if (r->args != NULL &&
      r->uri != r->unparsed_uri) {


in this code :

  /* make sure the QUERY_STRING and
   * PATH_INFO parts get incorporated
   */
  if (r->path_info != NULL) {
    r->filename = ap_pstrcat(r->pool, r->filename,
                             r->path_info, NULL);
  }
  if (r->args != NULL &&
      r->uri == r->unparsed_uri) {
    /* see proxy_http:proxy_http_canon() */
    r->filename = ap_pstrcat(r->pool, r->filename,
                             "?", r->args, NULL);
  }


Consequence : GET args lost !

Regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message