Opened 10 years ago

Closed 10 years ago

#10303 closed bug (fixed)

Error 405 (Method Not Allowed) from Google when typing plaintext-with-spaces search terms into location bar in Web+

Reported by: Kev Owned by: pulkomandy
Priority: normal Milestone: R1
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

This occassionally happens, and is not reproducible, in the sense that when it happens, I open a new Web+ window and type the exact same thing, and it doesn't happen.

But for example just now I typed 'apache dbi connection leak' into the location bar, and got this:

http://www.google.com/search?q=apache%20dbi%20connection%20leak

...which looks right, but the result was:

405. That'€™s an error.

The request method POST is inappropriate for the URL /search?q=apache%20dbi%20connection%20leak. That'™s all we know.

This is on hrev46508 but has been around at least one other nightly before that.

Change History (5)

comment:1 by anevilyak, 10 years ago

Please try with hrev46525 or newer, as WebKit was just updated to a newer revision there.

comment:2 by Kev, 10 years ago

Glad to, once it's out: only as late as hrev46523 is available on the nightlies page ATM.

comment:3 by pulkomandy, 10 years ago

It seems Web+ is trying to send data using POST, instead of GET. Maybe it's reusing the method from the page you were on before trying to search something.

This would be confirmed by entering a page that uses POST (eg. adding a comment here), then trying to search something.

comment:4 by Kev, 10 years ago

Yes, except it's happening when I open a new window, so there's no previous POST or GET or anything.

I tried a POST and then searching from the address bar anyway, and it searched OK.

comment:5 by pulkomandy, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.