[webkit-reviews] review requested: [Bug 80265] The path of URL has redundant slashes should not be cached again in offline web applications : [Attachment 130093] test case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 04:26:02 PST 2012


huangxueqing <huangxueqing at baidu.com> has asked  for review:
Bug 80265: The path of URL has redundant slashes should not be cached again in
offline web applications
https://bugs.webkit.org/show_bug.cgi?id=80265

Attachment 130093: test case
https://bugs.webkit.org/attachment.cgi?id=130093&action=review

------- Additional Comments from huangxueqing <huangxueqing at baidu.com>
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.


More information about the webkit-reviews mailing list