Skip to content

Commit f3b1cf9

Browse files
committed
Add _ to GitLab Pages regex
1 parent 5d6b3cc commit f3b1cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/tw-security-manager.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const isAlwaysTrustedForFetching = parsed => (
4444
/^https:\/\/[a-z0-9-]{1,40}\.github\.io$/.test(parsed.origin) ||
4545

4646
// GitLab
47-
/^https:\/\/[a-z0-9.-]{1,255}\.gitlab\.io$/.test(parsed.origin)
47+
/^https:\/\/[a-z0-9_.-]{1,255}\.gitlab\.io$/.test(parsed.origin)
4848
);
4949

5050
/**

0 commit comments

Comments
 (0)