tuupola / slim-basic-auth

PSR-7 and PSR-15 HTTP Basic Authentication Middleware
MIT License
440 stars 66 forks source link

ignore list #125

Closed alissonrodrigo closed 1 day ago

alissonrodrigo commented 1 year ago

I can't get "ignore" to work on a uri and its sub queries. "ignore" => ["/list"] ex: /list /list/1 /list/3

the codes are dynamic so it's impossible to put them all

tuupola commented 1 year ago

How are you configuring the middleware? Also show an example request and response with curl. For example:

$ curl --include http://www.example.com/list/2
HTTP/1.1 404 Not Found
Cache-Control: max-age=604800
...