Bug 111554 - [Curl] File names in url should not be part of the cookie path.
Summary: [Curl] File names in url should not be part of the cookie path.
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 04:01 PST by peavo
Modified: 2013-03-08 04:48 PST (History)
1 user (show)

See Also:


Attachments
Patch (2.74 KB, patch)
2013-03-06 04:10 PST, peavo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2013-03-06 04:01:21 PST
When setting the cookie path from a url, file names in the url should be removed from the cookie path.
E.g. http://www.example.org/auth/logon.php? should set the cookie path to /auth (not /auth/logon.php as it currently becomes).
Comment 1 peavo 2013-03-06 04:10:08 PST
Created attachment 191711 [details]
Patch
Comment 2 Brent Fulgham 2013-03-06 16:38:04 PST
Is this behavior covered by a test case?
Comment 3 peavo 2013-03-08 04:43:45 PST
No need to consider this patch anymore, fixed by r144853, (https://bugs.webkit.org/show_bug.cgi?id=110147).