Skip to content

Commit 22f2b56

Browse files
authored
GDPR13B (#1510)
* Silent failure on pro/dev with invalid grouping... doesn't trip server which is odd. Still an issue Post #1508 #1509 Auto-merge
1 parent 56125e7 commit 22f2b56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libs/helpers.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ exports.patternHasSameOrigin =
220220
// NOTE: This re is quite sensitive to changes esp. with `|`
221221
exports.patternMaybeSameOrigin =
222222
(isPro
223-
? '(?:(?:https?:)?(?://openuserjs\.org(?::' + exports.securePort +
224-
')?)?|(?:http:)?(?//:oujs\.org)?)'
223+
? '(?:https?:)?(?://openuserjs\.org(?::' + exports.securePort + ')?)?'
225224
: '(?:http:)?(?://localhost:' + exports.port + ')?')
226225

227226
exports.isSameOrigin = function (aUrl) {

0 commit comments

Comments
 (0)