Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
8e4c7c87
Commit
8e4c7c87
authored
12 years ago
by
Calen Pennington
Browse files
Options
Downloads
Patches
Plain Diff
Add comment about location invalid chars
parent
8119e6b9
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/lib/xmodule/xmodule/modulestore/__init__.py
+2
-0
2 additions, 0 deletions
common/lib/xmodule/xmodule/modulestore/__init__.py
with
2 additions
and
0 deletions
common/lib/xmodule/xmodule/modulestore/__init__.py
+
2
−
0
View file @
8e4c7c87
...
...
@@ -19,6 +19,8 @@ URL_RE = re.compile("""
(/(?P<revision>[^/]+))?
"""
,
re
.
VERBOSE
)
# TODO (cpennington): We should decide whether we want to expand the
# list of valid characters in a location
INVALID_CHARS
=
re
.
compile
(
r
"
[^\w.-]
"
)
_LocationBase
=
namedtuple
(
'
LocationBase
'
,
'
tag org course category name revision
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment