Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
9d3dca33
Unverified
Commit
9d3dca33
authored
Feb 25, 2017
by
David Haynes
Browse files
Remove comment stating that things are broken
- because I fixed it
parent
5fab9c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
go/go/forms.py
View file @
9d3dca33
...
...
@@ -36,7 +36,7 @@ class URLForm(forms.ModelForm):
# to permit users to enter sites that return most errors, but
# prevent them from entering sites that result in an HTTP 300 error
if
any
(
int
(
str
(
e
)[
11
:
14
])
==
errorNum
for
errorNum
in
range
(
300
,
308
)):
raise
ValidationError
(
"Link result in a 300 error"
)
# right now you get a 500 error... intended?
raise
ValidationError
(
"Link result in a 300 error"
)
else
:
final_url
=
""
# if the host (go.gmu.edu) is in the entered target link or where it redirects
...
...
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