Chromium Code Reviews| Index: Source/core/frame/Location.cpp |
| diff --git a/Source/core/frame/Location.cpp b/Source/core/frame/Location.cpp |
| index 45b0ea5cdeecaa4238c66d32d6aa8a789c0cae5b..b93a6cb1dbfed496691fcb7a36a41feb61732111 100644 |
| --- a/Source/core/frame/Location.cpp |
| +++ b/Source/core/frame/Location.cpp |
| @@ -68,7 +68,7 @@ String Location::href() const |
| if (!m_frame) |
| return String(); |
| - return url().string(); |
| + return url().strippedForUseAsHref(); |
| } |
| String Location::protocol() const |