Bug 194925
Summary: | Safari URL rewrite should not be rewriting everything under search engine's subdomains | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mo Lam <moplam> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | achristensen, jberlin, mitz |
Priority: | P2 | ||
Version: | Safari 12 | ||
Hardware: | All | ||
OS: | All |
Mo Lam
URL rewrite for Safari is way too aggressive at re-writing.
Pre-req for this example: Safari's default search engine is Google.
Example: http://fake.google.com/search?q=123, http://docs.google.com/search?q=123 will all navigate user to https://google.com/search?q=123 (and show 123 in the url bar)
This rewrite will navigate any of Google's sub domain. It is very often not appropriate outside google.com or www.google.com.
A real example: https://support.google.com/search?q=123 will bring you to different page on Chrome (correct) vs Safari (incorrect).
Also reproduced on bing.com
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mo Lam
PS: This only happen when the domain is the default search engine of Safari.
mitz
Safari uses WebKit, but Safari’s special handling of search provider URLs is not part of WebKit. The best way to report issues with Safari is to use Apple’s bug reporting website at <https://bugreport.apple.com/>.
Alexey Proskuryakov
Marking as invalid per the above comment, as we can’t track issues outside WebKit in WebKit Bugzilla.
Alex Christensen
rdar://problem/65613706