Show More
@@ -337,11 +337,13 b' def files_breadcrumbs(repo_name, repo_ty' | |||||
337 |
|
337 | |||
338 |
|
338 | |||
339 | def files_url_data(request): |
|
339 | def files_url_data(request): | |
|
340 |
import urllib
|
|||
340 | matchdict = request.matchdict |
|
341 | matchdict = request.matchdict | |
341 |
|
342 | |||
342 | if 'f_path' not in matchdict: |
|
343 | if 'f_path' not in matchdict: | |
343 | matchdict['f_path'] = '' |
|
344 | matchdict['f_path'] = '' | |
344 |
|
345 | else: | ||
|
346 | matchdict['f_path'] = urllib.quote(matchdict['f_path']) | |||
345 | if 'commit_id' not in matchdict: |
|
347 | if 'commit_id' not in matchdict: | |
346 | matchdict['commit_id'] = 'tip' |
|
348 | matchdict['commit_id'] = 'tip' | |
347 |
|
349 |
General Comments 0
You need to be logged in to leave comments.
Login now