After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172525 - document() function no longer accepts query string parameters
document() function no longer accepts query string parameters
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
1.1.14
Other FreeBSD
: Normal major
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-03 18:26 UTC by Daniel Bibbens
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes GET query string problem (1.84 KB, patch)
2005-04-12 19:00 UTC, Elvis Stansvik
none Details | Review

Description Daniel Bibbens 2005-04-03 18:26:14 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&amp;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.
Comment 1 John Fleck 2005-04-06 01:34:14 UTC
Updating the version to 1.1.14 (sorry, the new version hadn't been added to
Bugzilla - it's there now)
Comment 2 Daniel Bibbens 2005-04-06 02:13:14 UTC
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.
Comment 3 Daniel Bibbens 2005-04-06 02:21:46 UTC
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.
Comment 4 Elvis Stansvik 2005-04-12 18:57:44 UTC
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.
Comment 5 Elvis Stansvik 2005-04-12 19:00:11 UTC
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.
Comment 6 Daniel Veillard 2005-04-13 02:55:29 UTC
Cool, seems to work just fine, applied and commited !

  thanks a lot !

Daniel
Comment 7 Daniel Bibbens 2005-04-13 06:52:58 UTC
Thank you Aron and Daniel, very much.
Comment 8 Daniel Veillard 2005-09-05 09:41:49 UTC
This should be closed by release of libxslt-1.1.15

  thanks,

Daniel