We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56125e7 commit 22f2b56Copy full SHA for 22f2b56
libs/helpers.js
@@ -220,8 +220,7 @@ exports.patternHasSameOrigin =
220
// NOTE: This re is quite sensitive to changes esp. with `|`
221
exports.patternMaybeSameOrigin =
222
(isPro
223
- ? '(?:(?:https?:)?(?://openuserjs\.org(?::' + exports.securePort +
224
- ')?)?|(?:http:)?(?//:oujs\.org)?)'
+ ? '(?:https?:)?(?://openuserjs\.org(?::' + exports.securePort + ')?)?'
225
: '(?:http:)?(?://localhost:' + exports.port + ')?')
226
227
exports.isSameOrigin = function (aUrl) {
0 commit comments