Web.BaseURL without trailing /

Bug #610844 reported by edA-qa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TestPlan
Fix Committed
Medium
Unassigned

Bug Description

The system tends to behave differently when Web.BaseURL has a trailing / or not. The gotoRelativeURL function has fixed this in the one case, but the fix needs to be general. Also the Java URI class has a defect in this regards, so functions like combineCurrentURL need to be patched to address it (see gotoURL in WebTestUnit).

Essentially, for all combinations of this domain:

http://domain.com
http://domain.com/

And these paths

index.html
/index.html

Combining these yields the same URL in all cases.

Related branches

edA-qa (eda-qa)
Changed in testplan:
importance: Undecided → Medium
milestone: none → testplan-1-0-r6
status: New → Confirmed
Revision history for this message
edA-qa (eda-qa) wrote :

I modified combineURL and made WebTestUnit call this, as well as CreateHTTP server, nowhere else used Web.BaseURL.

Changed in testplan:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.