jgbishop / googlebarlite

A light-weight Google search toolbar for Firefox.
Other
6 stars 5 forks source link

Force classic maps option results in 404 with empty search #23

Closed jgbishop closed 9 years ago

jgbishop commented 9 years ago

From Ralf:

One minor glitch: when this option is enabled, you add this string: &output=classic&dg=optperm This works fine unless the maps-button is used just to launch Google Maps without a specific search. Then this leads to an URL like https://maps.google.de/&output=classic&dg=optperm which gives a 404 error. That's because there are no parameters in this URL but the first parameter of an URL has to be appended with "?", not with "&".

So I think this could work if you leave it like it is now but append ?output=classic&dg=optperm instead when there's nothing entered in the search box.

jgbishop commented 9 years ago

This has been resolved in 5.0.6.