| Index: net/http/http_cache.cc
|
| ===================================================================
|
| --- net/http/http_cache.cc (revision 23247)
|
| +++ net/http/http_cache.cc (working copy)
|
| @@ -1470,9 +1470,8 @@
|
|
|
| // Generate a key that can be used inside the cache.
|
| std::string HttpCache::GenerateCacheKey(const HttpRequestInfo* request) {
|
| - std::string url = request->url.spec();
|
| - if (request->url.has_ref())
|
| - url.erase(url.find_last_of('#'));
|
| + // Strip out the reference, username, and password sections of the URL.
|
| + std::string url = HttpUtil::SpecForRequest(request->url);
|
|
|
| DCHECK(mode_ != DISABLE);
|
| if (mode_ == NORMAL) {
|
|
|
| Property changes on: net\http\http_cache.cc
|
| ___________________________________________________________________
|
| Added: svn:mergeinfo
|
| Merged /trunk/src/net/http/http_cache.cc:r21408
|
| Merged /branches/chrome_webkit_merge_branch/net/http/http_cache.cc:r69-2775
|
|
|
|
|