-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
questionAsk how to do something or how something worksAsk how to do something or how something works
Description
next-auth/src/lib/parse-url.js
Line 13 in 8115a7c
| const protocol = url.match(/^http?:\/\//) ? 'http' : 'https' |
The regex /^http?:\/\// will match http:// but also htt://.
Is this really intended, or should the ? be removed on this line? (It is ofcourse needed later in the https? replace regex.)
Metadata
Metadata
Assignees
Labels
questionAsk how to do something or how something worksAsk how to do something or how something works