Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
40754a33
Commit
40754a33
authored
Jul 21, 2020
by
Georg Koppen
Browse files
Merge remote-tracking branch 'gitlab/merge-requests/18' into maint-1.1
parents
16caca10
d958915e
Changes
1
Show whitespace changes
Inline
Side-by-side
sbws/lib/relaylist.py
View file @
40754a33
...
...
@@ -197,7 +197,9 @@ class Relay:
# Therefore, catch the exception here.
try
:
if
self
.
exit_policy
:
return
self
.
exit_policy
.
can_exit_to
(
port
=
port
)
# Using `strict` to ensure it can exit to ALL domains
# and ips and that port. See #40006.
return
self
.
exit_policy
.
can_exit_to
(
port
=
port
,
strict
=
True
)
except
TypeError
:
return
False
return
False
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment