When no user is given, warnings may occur:

Warning: preg_match(): Empty regular expression in Drupal\basic_auth_limited\StackMiddleware\BasicAuthMiddleware->handle() (Zeile 60 in /srv/default/vcs/web/modules/contrib/basic_auth_limited/src/StackMiddleware/BasicAuthMiddleware.php) #

CommentFileSizeAuthor
#2 php_auth_user.patch730 bytesarthur_lorenz

Comments

fago created an issue. See original summary.

arthur_lorenz’s picture

Status: Active » Needs review
StatusFileSize
new730 bytes

Simply updated one if statement, should fix it

  • fago committed 38918ab on 8.x-1.x authored by arthur_lorenz
    Issue #2986003 by arthur_lorenz: Warning: preg_match(): Empty regular...
fago’s picture

Status: Needs review » Fixed

Thx, the patch makes sense. Committed and pushed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.