You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google likes to append things like ?gclid=CjwKEAiAw4e1BRDfi7vghaWU9jESJACzo9juyqmPwqpRWWS9G9NdCWgaYXaVDo1JeCr78JNjgiSi_xoCqhLw_wcB%201%20Comment to urls, which unfortunately causes SD to die horribly. I guess we need a way to ignore query strings like that?
Huh. That's an interesting problem. It seems we could either a) whitelist acceptable query strings or b) blacklist unacceptable ones. Given that the range of B is enormous, but the range of A is quite narrow, I think A is our only option.
Offhand, the only places on the site that I can think of where we're using query strings are a) search and b) API key activation. If that really is it, then whitelisting should be quite straightforward.
Activity
waldoj commentedon Jan 22, 2016
Huh. That's an interesting problem. It seems we could either a) whitelist acceptable query strings or b) blacklist unacceptable ones. Given that the range of B is enormous, but the range of A is quite narrow, I think A is our only option.
Offhand, the only places on the site that I can think of where we're using query strings are a) search and b) API key activation. If that really is it, then whitelisting should be quite straightforward.
krusynth commentedon Jan 22, 2016
I'm more confused that PHP is balking at query strings in the first place - usually you can do whatever you want on that front without it caring.
waldoj commentedon Jan 22, 2016
I actually can't replicate the problem. On Virginia Decoded, the query string you suggested works just fine.
krusynth commentedon Jan 22, 2016
Au contraire on the root it 404s
waldoj commentedon Jan 22, 2016
Oh, that's interesting. So that would seem to point to a routing problem.
krusynth commentedon Jan 22, 2016
Routing feature.
waldoj commentedon Jan 22, 2016
Two sides of the same coin. ;)
Ignore query string params when parsing urls. #602
Replacing lazy check for more strict check for Controllers. #602 #603
Replacing lazy check for more strict check for Controllers. #602 #603
Ignore query string params when parsing urls. #602
krusynth commentedon Feb 2, 2016
That should do it.
waldoj commentedon Feb 2, 2016
👍