Web lists-archives.com

Re: [PHP] Re: White screen - nothing in logs




On 06.05.2018 at 22:01, Lester Caine wrote:

> As I said on the other reply, the Apache rewrite is pulling the number
> cleanly and passing it, while on the nginx rewrite it was including the
> '/'. But the problem is ACTUALLY with the php end which SHOULD simply
> filter the number anyway!

Obviously, that depends on what you do exactly to get/validate/sanitize
the query parameter, and how you handle potential failures.

> http://npc.smallbrook.co.uk/fisheye/view.php?gallery_id=45 works, but
> http://npc.smallbrook.co.uk/fisheye/view.php?gallery_id=45/ gives a
> white screen.

I get “404 Not found” for the latter, which doesn't appear to be a
problem per se.

-- 
Christoph M. Becker

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php