generated from biigle/module
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The bucket name is used as-is in the regular expression to check if it is included in the endpoint. We had a unhandled error when it included a /. Sanitize the bucket name or use a different method than preg_match (e.g. Str::startsWith, Str::endsWith).
| if (!preg_match("/(\/\/{$bucket}\.|[a-zA-Z]\/{$bucket}($|\/))/", $endpoint)) { |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Medium Priority