Actions
Bug #2016
closedWt::Http::Client::parseUrl cannot parse URLs containing username and password
Start date:
07/08/2013
Due date:
% Done:
0%
Estimated time:
Description
If a URL contains a username and a password the parser takes the first separating colon and everything behind username is used as a port number and "bad_cast" exception is thrown. There is a workaround. One can set "Authorization" header instead of including credentials in a URL.
Updated by Koen Deforche over 11 years ago
- Status changed from New to InProgress
- Assignee set to Korneel Dumon
- Target version set to 3.3.1
This is for a URL like http://username:password@example.com/
We need to make sure parseUrl() parses this, and, we properly formulate the request for it, I guess (not sure) using this:
http://en.wikipedia.org/wiki/Basic_access_authentication
i.e. by adding an 'Authorization' header
koen
Updated by Korneel Dumon over 11 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed
Actions