magikstm

Results 31 comments of magikstm

Could you please describe the issue a bit more or share your caddyfile? Burst seems to be implemented in the current build: Ref: https://github.com/xuqingfeng/caddy-rate-limit/blob/e94764d1d460de2ffb482fd59f698896e4192ec9/ratelimit.go#L22 https://github.com/xuqingfeng/caddy-rate-limit/blob/e94764d1d460de2ffb482fd59f698896e4192ec9/caddylimiter_test.go#L23 Demos: https://github.com/xuqingfeng/caddy-rate-limit/blob/master/test_site/minute/index.html https://github.com/xuqingfeng/caddy-rate-limit/blob/master/test_site/file/config.txt

Did you try: The `allowroot` parameter? https://github.com/BTBurke/caddy-jwt#allowing-public-access-to-certain-paths Or the `passthrough` parameter? https://github.com/BTBurke/caddy-jwt#allowing-public-access-regardless-of-token

I think this use-case could be fulfilled with PR #39.

I think a simple url escaping would be inadequate for this. I'm quite new to Go, but I believe It should be escaped based on this: https://github.com/golang/net/blob/master/http/httpguts/httplex.go#L15 Based on the...

Are you using caddy-jwt by itself or with another plugin?

Did you try these in your caddyfile: ``` { order jwt after basicauth order login before basicauth } ``` It should allow them to be run in the correct order...

Could you possibly share a fiddle or a small demo?

https://flightphp.com/learn#requests $url = Flight::request()->query['url']; or $url = Flight::request()->query->url;

Which version of PHP and Flight are you using?

I believe this line: `Flight::route('/category\-@id:[0-9]+\-@name:[a-z\-]+(\-page@page[0-9]+).html', function($id, $name, $page = 1){` Could be changed to: `Flight::route('/category/@id:[0-9]/@name:[a-z]/@page:[0-9]', function($id, $name, $page = 1){` If you want to make the page optional, you could...