phayes / geoPHP

Advanced geometry operations in PHP
https://geophp.net
Other
863 stars 263 forks source link

any URL with a ?url=xxx parameter generates a 429 error(!) #194

Open jolyonralph opened 1 year ago

jolyonralph commented 1 year ago

This is a weird problem I spent a long time tracking down, some of our pages have only recently starting generating 429 errors. For all users.

So, on digging further, the error is somehow coming from geoPHP, but ONLY when the URL has a ?url= parameter.

If I don't include geoPHP, no error. If I change the ?url= to ?url2= then it works fine.

I am not convinced it's entirely geoPHP's fault because I haven't updated geoPHP in ages and it was working fine until very recently. But some weird cursed combination of things is causing this and geoPHP is involved somehow.

In the meantime I'm changing all my URLS that use 'url=' parameters (by the way, this was never used for a full url, it was only something like ?url=about)