Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c575c898
Commit
c575c898
authored
May 19, 2015
by
Mushtaq Ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug - Unicode character in tab number shouldn't return 500 #TNL-2055
Adding user to AUTHORS file
parent
c2999af8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
AUTHORS
+1
-0
lms/djangoapps/courseware/tests/test_views.py
+0
-1
lms/djangoapps/courseware/views.py
+1
-1
No files found.
AUTHORS
View file @
c575c898
...
...
@@ -216,3 +216,4 @@ Randy Ostler <rando305@gmail.com>
Thomas Young <thomas@upcoder.com>
Andrew Dekker <simultech@gmail.com>
Christopher Lee <clee@edx.org>
Mushtaq Ali <mushtaque.ali@arbisoft.com>
lms/djangoapps/courseware/tests/test_views.py
View file @
c575c898
...
...
@@ -262,7 +262,6 @@ class ViewsTestCase(ModuleStoreTestCase):
response
=
self
.
client
.
get
(
request_url
)
self
.
assertEqual
(
response
.
status_code
,
404
)
@unittest.skip
def
test_unicode_handling_in_url
(
self
):
url_parts
=
[
'/courses'
,
...
...
lms/djangoapps/courseware/views.py
View file @
c575c898
...
...
@@ -364,7 +364,7 @@ def _index_bulk_op(request, course_key, chapter, section, position):
try
:
int
(
position
)
except
ValueError
:
raise
Http404
(
"Position {} is not an integer!"
.
format
(
position
))
raise
Http404
(
u
"Position {} is not an integer!"
.
format
(
position
))
user
=
request
.
user
course
=
get_course_with_access
(
user
,
'load'
,
course_key
,
depth
=
2
)
...
...
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