Jay Caines-Gooby
Jay Caines-Gooby
I'd assumed that the `naxsi_flag_enable` and `naxsi_flag_learning` flags at the `server{}` level already did this (I realised they didn't after testing), so it would be good to add a note...
Ah, looks like `nxtool.py` doesn't like being called with a `nxapi.json` config file that lives outside the path from where `nxtool.py` is found. Steps to reproduce: ``` # This example...
I did a bit of print debugging - it's because you either need to have the `tpl` folder copied to the new location, or you need ensure that the `nxapi.json`...
Ugh, sorry about some of the whitespace changes
Hmm, this is buggy when you also have non-data pagination. I'll force push the changes once I've fixed
I’m happy to work on this, to get the correct behaviour. Are there a set of test cases that show requests that can cause open redirects? The background to this,...
Thanks @mholt I'm a golang newbie. `origReq` is assigned from the request, and then I'm returning a string representing the final URL, so it didn't seem like it would be...
Thanks for the docs link! Yup, I'll give it a go later today
Thanks, I'll also bear in mind the three test cases you note in https://github.com/caddyserver/caddy/issues/4205#issuecomment-863352037
Would it help to have a separate `caddytest/integration/redirect_test.go` with the various different cases in?