Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318782 Details for
Bug 427410
www-client/chromium: display full URL in address bar
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to restore the old behavior
chromium-fix-urlbar.patch (text/plain), 2.79 KB, created by
Laurent Bachelier
on 2012-07-21 00:18:58 UTC
(
hide
)
Description:
patch to restore the old behavior
Filename:
MIME Type:
Creator:
Laurent Bachelier
Created:
2012-07-21 00:18:58 UTC
Size:
2.79 KB
patch
obsolete
>This patch restores compliance with IETF RFC 3986 in Chromium: >* fixes the bug introduced in 2010, removing http:// in the URL bar without any option to bring it back: http://code.google.com/p/chromium/issues/detail?id=41467 >* reverts the removal of trailing slashes in the URL bar: http://code.google.com/p/chromium/issues/detail?id=43587 > >--- chrome/browser/autocomplete/autocomplete.cc 2012-07-10 09:48:52.000000000 +0200 >+++ chrome/browser/autocomplete/autocomplete.cc 2012-07-16 20:57:19.078551682 +0200 >@@ -585,7 +585,7 @@ > return net::FormatUrl( > url, > languages, >- net::kFormatUrlOmitAll & ~(trim_http ? 0 : net::kFormatUrlOmitHTTP), >+ net::kFormatUrlOmitNothing, > net::UnescapeRule::SPACES, NULL, NULL, NULL); > } > >--- chrome/browser/autocomplete/history_quick_provider.cc 2012-07-10 09:48:52.000000000 +0200 >+++ chrome/browser/autocomplete/history_quick_provider.cc 2012-07-16 21:00:53.799164269 +0200 >@@ -198,8 +198,7 @@ > // Format the URL autocomplete presentation. > std::vector<size_t> offsets = > OffsetsFromTermMatches(history_match.url_matches); >- const net::FormatUrlTypes format_types = net::kFormatUrlOmitAll & >- ~(!history_match.match_in_scheme ? 0 : net::kFormatUrlOmitHTTP); >+ const net::FormatUrlTypes format_types = net::kFormatUrlOmitNothing; > match.fill_into_edit = > AutocompleteInput::FormattedStringWithEquivalentMeaning(info.url(), > net::FormatUrlWithOffsets(info.url(), languages_, format_types, >--- chrome/browser/autocomplete/history_url_provider.cc 2012-07-10 09:48:52.000000000 +0200 >+++ chrome/browser/autocomplete/history_url_provider.cc 2012-07-16 21:01:23.480562914 +0200 >@@ -911,9 +911,7 @@ > history_match.input_location + params->input.text().length(); > std::string languages = (match_type == WHAT_YOU_TYPED) ? > std::string() : params->languages; >- const net::FormatUrlTypes format_types = net::kFormatUrlOmitAll & >- ~((params->trim_http && !history_match.match_in_scheme) ? >- 0 : net::kFormatUrlOmitHTTP); >+ const net::FormatUrlTypes format_types = net::kFormatUrlOmitNothing; > match.fill_into_edit = > AutocompleteInput::FormattedStringWithEquivalentMeaning(info.url(), > net::FormatUrl(info.url(), languages, format_types, >--- chrome/browser/ui/toolbar/toolbar_model.cc 2012-07-10 09:48:59.000000000 +0200 >+++ chrome/browser/ui/toolbar/toolbar_model.cc 2012-07-16 20:41:26.549562555 +0200 >@@ -63,7 +63,7 @@ > // and pastes it into another program, that program may think the URL ends at > // the space. > return AutocompleteInput::FormattedStringWithEquivalentMeaning( >- url, net::FormatUrl(url, languages, net::kFormatUrlOmitAll, >+ url, net::FormatUrl(url, languages, net::kFormatUrlOmitNothing, > net::UnescapeRule::NORMAL, NULL, NULL, NULL)); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427410
: 318782