[Webkit-unassigned] [Bug 80265] New: The path of URL has redundant slashes should not be cached again in offline web applications
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 5 04:26:02 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80265
Summary: The path of URL has redundant slashes should not be
cached again in offline web applications
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: huangxueqing at baidu.com
huangxueqing <huangxueqing at baidu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #130093| |review?, commit-queue?
Flag| |
Created an attachment (id=130093)
--> (https://bugs.webkit.org/attachment.cgi?id=130093&action=review)
test case
INTRODUCTION:
It's commom that user input more than one slashes in path of url due to careless, such as "http://127.0.0.1:8000//appcache//test.html" actually specify "http://127.0.0.1:8000/appcache/test.html".
REPOS STEPS:
1. Unzip attachment and move "appcache" folder into %APACHE_ROOT%;
2. Navigate http://127.0.0.1/appcache/test.html;
2. Naviagte http://127.0.0.1/////appcache/////test.html;
ACTUAL RESULTS:
There ware two record in cacheGroup table identified by "http://127.0.0.1/appcache/test.manifest" and "http://127.0.0.1/////appcache/////test.manifest" respectively.
EXPECTED RESULTS:
Only one record in cacheGroup identified by "http://127.0.0.1/appcache/test.manifest".
REPOS STEPS:
1. Navigate http://127.0.0.1/appcache/test.html;
2. Shutdown apache;
3. Navigate http://127.0.0.1/////appcache/test.html;
ACTUAL RESULTS:
Failed to load test.html from local cache.
EXPECTED RESULTS:
Load test.html from local cache correctly.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list