Skip to content

Commit

Permalink
fixup! switch to pcre2
Browse files Browse the repository at this point in the history
  • Loading branch information
niol committed Jul 25, 2023
1 parent 08cb1e9 commit a92f5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/php/php_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ int uwsgi_php_request(struct wsgi_request *wsgi_req) {
#ifdef UWSGI_PCRE
struct uwsgi_regexp_list *bypass = uphp.app_bypass;
while (bypass) {
if (uwsgi_regexp_match(bypass->pattern, bypass->pattern_extra, wsgi_req->uri, wsgi_req->uri_len) >= 0) {
if (uwsgi_regexp_match(bypass->pattern, wsgi_req->uri, wsgi_req->uri_len) >= 0) {
goto oldstyle;
}
bypass = bypass->next;
Expand Down

0 comments on commit a92f5e0

Please sign in to comment.