Issue metadata
Sign in to add a comment
|
Setting local search server in omnibox breaks site POST requests.
Reported by
j...@apcera.com,
Jul 7 2016
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Example URL: Steps to reproduce the problem: 1. Setup the omnibox to use a local search service at https://127.0.0.1, this would search using a GET. 2. Visit the same search service manually in the browser, fill out a form with action "POST" 3. Notice that chrome now sends a GET instead of the required POST for the form. What is the expected behavior? It should post the form since action="post". What went wrong? Chrome sends a GET request for a form clearly labelled as a post action. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? Yes Last week. Does this work in other browsers? Yes Chrome version: 51.0.2704.106 Channel: stable OS Version: Flash Version: Shockwave Flash 22.0 r0
,
Jul 7 2016
,
Jul 7 2016
,
Jul 7 2016
Regarding comment #1, jumps.io seems to submit a GET request (as in I see "?q=testing" at the end of the URL) even if I don't have any custom search providers. Can you confirm that the form actually does submit a GET request _for you_ when you don't have a search provider configured? In other words, is this actually a problem caused by the search provider mechanism?
,
Jul 7 2016
Also note that the recent fix to bug 344348 might've affected this issue. It would be nice if you can test it in Chrome Dev or Chrome Canary to see if you can reproduce it there. thanks!
,
Jul 7 2016
Yes, sounds like this may be a dupe of issue 344348 .
,
Jul 7 2016
,
Jul 8 2016
The URL I sent was what needs to be used for the omnibox. The code works for both post and get requests. When you use the site directly the form is a POST, but chrome translates it to a GET when the omnibox is the same url... Definitely a bug.
,
Jul 8 2016
And yes this is a dupe of issue 344348 . =)
,
Jul 8 2016
Great. That means it's already fixed in M53. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by j...@apcera.com
, Jul 7 2016