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 43550] - mod_negotiation is not passing query strings when using typemaps
Date Thu, 04 Oct 2007 14:02:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43550>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43550





------- Additional Comments From jose@w3.org  2007-10-04 07:02 -------
Created an attachment (id=20917)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20917&action=view)
New test procedure for perl-framework for testing typemaps and query string
parameters 

DESCRIPTION

The following tests checks that query string parameters are being
correctly passed-on whenever a resource is selected by means
of a type-map.

CONTENT

This test has been prepared using the svn trunk version of httpd-test
and is comprised of:

1. Test htdocs directory:

  httpd-test/perl-framework/t/htdocs/modules/negotiation/ \
    typemap_query_string
      |
      - test.html
      |
      - test.pl
      |
      - test.var

2. Patches to both t/conf/extra.conf.in and t/modules/negotiation.t
   to include the new test

    typemaptest.diff

INSTALLATION

1. Check out the httpd-test directory
    svn checkout http://svn.apache.org/repos/asf/httpd/test/trunk/ \
     httpd-test

2. Install the
    htdocs/modules/negotiation/typemap_query_string/ directory
    and files.

     tar -xzf typemapqstest.tgz

3. Patch extra.conf.in and negotiation.t to include the new test

   patch -p0 <typemaptest.diff

DESCRIPTION OF THE TEST

The test consists in requesting the following resource:

    http://server/..../typemap_query_string/test?foo

If the query string parameter is being passed correctly, test.pl will
be called and will return the string
    QUERY_STRING --> foo

RUNNING THE TEST

    t/TEST modules/negotiation

The new test has number #99.

Note that this test will fail unless you apply the patch to
mod_negotiation which is included in my report.


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

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


Mime
View raw message