Opened 5 years ago

Closed 5 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:
Has a Patch: no Platform: x86


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:

...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 Changed 5 years ago by anevilyak

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

comment:2 Changed 5 years ago by Kev

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

comment:3 Changed 5 years ago by pulkomandy

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 Changed 5 years ago by Kev

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 Changed 5 years ago by pulkomandy

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