GNOME Bugzilla – Bug 172525
document() function no longer accepts query string parameters
Last modified: 2009-08-15 18:40:50 UTC
Version details: 1.1.14 Distribution/Version: 5.3 Call any URL with, for example: <xsl:copy-of select="document('http://anyserver.org/file.ext?p1=foo&p2=bar')//node()"/> Examine the http access log of the server identified in the above URL. Note that the query string (?p1=foo&p2=bar) is not part of the request. Rev. 1.1.12 and earlier produces the expected result. That is, the query string is included in the HTTP request. Since rev. 1.1.13 and including 1.1.14, the query string is not part of the HTTP request.
Updating the version to 1.1.14 (sorry, the new version hadn't been added to Bugzilla - it's there now)
Thank you for updating the version. I do want to emphasize however, that the issue addressed in this report first appeared in version 1.1.13. It also survives in version 1.1.14.
Christian Parpart noted in a email to xslt@gnome.org that he observed this bug on an "Athlon64 (completely in/for 64bit mode compiled)" but it did not seem to appear on an AthlonMP server (32bit). I followed up with the observation that my several Intel P3 & P4 exhibited the bug and are all 32bit/FreeBSD machines.
I can confirm this with libxml2-2.6.19 and libxslt-1.1.14 on FreeBSD 5.3/i386. I'll attach a patch against nanohttp.c from libxml2 that fixes this problem. I've sent the patch to the mailing list for review too, so use at your own risk for now.
Created attachment 45188 [details] [review] Fixes GET query string problem Fixes the problem where the GET query string is not included in the HTTP request.
Cool, seems to work just fine, applied and commited ! thanks a lot ! Daniel
Thank you Aron and Daniel, very much.
This should be closed by release of libxslt-1.1.15 thanks, Daniel