You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/09/15 20:50:31 UTC

DO NOT REPLY [Bug 33112] Query_string not preserved after content negotiation

https://issues.apache.org/bugzilla/show_bug.cgi?id=33112

Joergen Thomsen <ap...@jth.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|2.2.9                       |2.2.13
         Resolution|FIXED                       |

--- Comment #11 from Joergen Thomsen <ap...@jth.net> 2009-09-15 11:50:27 PDT ---
Apparently this bug will not fully die.
I still have to add this line in 2.2.13

    if ((r->args != NULL) && ( sub_req->args == NULL)) sub_req->args =
apr_pstrdup(r->pool, r->args);    /* keep query_string JTH */

at line 3134 in mod_negotiation.c

Without this line this will not work (params not recognized)

http://jth.net/index?scroll=yes&ramme=./domchange.da.php

 [QUERY_STRING] => 
 [REQUEST_URI] => /index?scroll=yes&ramme=./domchange.da.php

but

http://jth.net/index.var?scroll=yes&ramme=./domchange.da.php

 [QUERY_STRING] => scroll=yes&ramme=./domchange.da.php
 [REQUEST_URI] => /index?scroll=yes&ramme=./domchange.da.php
 [REDIRECT_URL_COUNT_DINDEX] => index1.php index.var index.da.php index.php
index.html index.htm index.shtml index.cgi index.html.da index.html.en index

will.

index.var contains

URI: index

URI: index.da.php
Content-type: text/html

URI: index.en.php
Content-type: text/html
Content-language: en, de, fr

URI: index.nl.php
Content-type: text/html
Content-language: nl

URI: index.da.php
Content-type: text/html
Content-language: da, sv, no, fo, is

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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