Relative URI can't be set

Bug #317451 reported by Marcel Zumstein, Oxinia GmbH
2
Affects Status Importance Assigned to Milestone
Squid
In Progress
Undecided
Unassigned
eCAP
Invalid
Undecided
Alex Rousskov

Bug Description

When I call the RequestLine::uri(const Area &aUri) method with a partial URI (only the path), the application crashes. This is inconsistent with RequestLine::uri(), which returns only the path, not the full URI.
When I call the function with the full URI, it doesn't work either; the applications crashes with:
   assertion failed: http.cc:1612: "strstr(url, request->urlpath.buf())"

The versions I used were eCAP adapter 0.0.2 and Squid 3.1.0.3.

Alex Rousskov (rousskov)
Changed in ecap:
assignee: nobody → rousskov
Revision history for this message
Alex Rousskov (rousskov) wrote :

Please try the attached patch for Squid and post whether it solves this problem and also bug #319140.

Thank you,

Alex.

Changed in ecap:
status: New → In Progress
Revision history for this message
Marcel Zumstein, Oxinia GmbH (zumstein-oxinia) wrote :

Yes, RequestLine::uri(const Area &aUri) now works both with partial and with full URIs. And bug #319140 seems to work now, too.
However, RequestLine::uri() only returns a partial URI. Is there a way to retrieve the full URI?

Alex Rousskov (rousskov)
Changed in squid:
status: New → In Progress
Revision history for this message
Alex Rousskov (rousskov) wrote :

Please try the attached cumulative patch to get full URIs from RequestLine::uri().

Revision history for this message
Alex Rousskov (rousskov) wrote :

Marking as invalid for the eCAP project as this is a Squid bug. Squid bug should remain open until the fix is committed.

Changed in ecap:
status: In Progress → Invalid
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.