[ jetty-Bugs-1540680 ] Small parse bug in HttpURI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jetty-Bugs-1540680 ] Small parse bug in HttpURI

SourceForge.net
Bugs item #1540680, was opened at 2006-08-15 15:14
Message generated for change (Comment added) made by janb
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1540680&group_id=7322

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HTTP protocol
Group: Jetty3
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Kristian (jkkndk)
Assigned to: Greg Wilkins (gregwilkins)
Summary: Small parse bug in HttpURI

Initial Comment:
Hey,

Jetty, version 6.0beta16

I think there is a small bug in parse2 in HttpURI, but
I am not sure how it
is suppose to work correctly with the parsing of
partial auth, so I am not
up for writing an actual patch for it.

PROBLEM: Servlets that listen on URI "/" does not get
their request-parameters.

CAUSE:
HttpURI uri1 = new HttpURI("/g?abc=test");
System.out.println(uri1.getQuery());

HttpURI uri2 = new HttpURI("/?abc=test");
System.out.println(uri2.getQuery());

Outputs:
abc=test
null

Excepted:
abc=test
abc=test

Regards
Kristian Kræmmer Nielsen,
Odense, Denmark


----------------------------------------------------------------------

>Comment By: Jan Bartel (janb)
Date: 2007-03-05 00:41

Message:
Logged In: YES
user_id=45251
Originator: NO

Closing issue as the fix has been present in many releases since this
report.

----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2006-08-15 18:31

Message:
Logged In: YES
user_id=44062

I think this has already been fixed.  I just added this
URL to the test case and it works fine in SVN head.

Try RC0 release (RC1 later this week)



----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1540680&group_id=7322

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss