Relative URI can't be set

Bug #317451 reported by Marcel Zumstein, Oxinia GmbH on 2009-01-15
Affects Status Importance Assigned to Milestone
In Progress
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: "strstr(url, request->urlpath.buf())"

The versions I used were eCAP adapter 0.0.2 and Squid

Alex Rousskov (rousskov) on 2009-01-15
Changed in ecap:
assignee: nobody → rousskov
Alex Rousskov (rousskov) wrote :

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

Thank you,


Changed in ecap:
status: New → In Progress

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) on 2009-02-04
Changed in squid:
status: New → In Progress
Alex Rousskov (rousskov) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers