Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
surykatka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
surykatka
Commits
6aa7f666
Commit
6aa7f666
authored
Dec 06, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
black on redirect url warning
parent
57e4ab2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/surykatka/bot.py
src/surykatka/bot.py
+3
-1
No files found.
src/surykatka/bot.py
View file @
6aa7f666
...
@@ -694,7 +694,9 @@ class WebBot:
...
@@ -694,7 +694,9 @@ class WebBot:
# Confirm that redirection url are checked
# Confirm that redirection url are checked
if
network_change
[
"status_code"
]
in
(
301
,
302
,
303
):
if
network_change
[
"status_code"
]
in
(
301
,
302
,
303
):
# XXX check full url
# XXX check full url
redirect_url
=
network_change
[
"http_header_dict"
][
"Location"
]
redirect_url
=
network_change
[
"http_header_dict"
][
"Location"
]
if
(
redirect_url
not
in
url_dict
)
and
(
if
(
redirect_url
not
in
url_dict
)
and
(
redirect_url
not
in
missing_url_list
redirect_url
not
in
missing_url_list
...
...
Write
Preview
Markdown
is supported
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