Show More
@@ -22,7 +22,7 b' news' | |||||
22 | - fixed #90 whoosh indexer can index chooses repositories passed in command |
|
22 | - fixed #90 whoosh indexer can index chooses repositories passed in command | |
23 | line |
|
23 | line | |
24 | - extended journal with day aggregates and paging |
|
24 | - extended journal with day aggregates and paging | |
25 |
- implemented #107 |
|
25 | - implemented #107 source code lines highlight ranges | |
26 | - implemented #93 customizable changelog on combined revision ranges - |
|
26 | - implemented #93 customizable changelog on combined revision ranges - | |
27 | equivalent of githubs compare view |
|
27 | equivalent of githubs compare view | |
28 | - implemented #108 extended and more powerful LDAP configuration |
|
28 | - implemented #108 extended and more powerful LDAP configuration | |
@@ -33,8 +33,8 b' news' | |||||
33 | - fixed many issues with international characters and unicode. It uses utf8 |
|
33 | - fixed many issues with international characters and unicode. It uses utf8 | |
34 | decode with replace to provide less errors even with non utf8 encoded strings |
|
34 | decode with replace to provide less errors even with non utf8 encoded strings | |
35 | - #125 added API KEY access to feeds |
|
35 | - #125 added API KEY access to feeds | |
36 |
- #109 Repository can be created from external Mercurial link |
|
36 | - #109 Repository can be created from external Mercurial link (aka. remote | |
37 | updated (via pull) from admin panel |
|
37 | repository, and manually updated (via pull) from admin panel | |
38 |
|
38 | |||
39 | fixes |
|
39 | fixes | |
40 | ----- |
|
40 | ----- | |
@@ -49,6 +49,7 b' fixes' | |||||
49 | - removed issue with space inside renamed repository after deletion |
|
49 | - removed issue with space inside renamed repository after deletion | |
50 | - fixed strange issue on formencode imports |
|
50 | - fixed strange issue on formencode imports | |
51 | - fixed #126 Deleting repository on Windows, rename used incompatible chars. |
|
51 | - fixed #126 Deleting repository on Windows, rename used incompatible chars. | |
|
52 | - windows fixes for os.kill and path spliting, issues #148 and #133 | |||
52 |
|
53 | |||
53 | 1.1.7 (**2011-03-23**) |
|
54 | 1.1.7 (**2011-03-23**) | |
54 | ====================== |
|
55 | ====================== |
@@ -25,6 +25,7 b'' | |||||
25 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
25 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
26 | # MA 02110-1301, USA. |
|
26 | # MA 02110-1301, USA. | |
27 |
|
27 | |||
|
28 | import os | |||
28 | import logging |
|
29 | import logging | |
29 | import rhodecode.lib.helpers as h |
|
30 | import rhodecode.lib.helpers as h | |
30 |
|
31 | |||
@@ -153,7 +154,7 b' class FilesController(BaseRepoController' | |||||
153 | file_node = self.__get_filenode_or_redirect(repo_name, cs, f_path) |
|
154 | file_node = self.__get_filenode_or_redirect(repo_name, cs, f_path) | |
154 |
|
155 | |||
155 | response.content_disposition = 'attachment; filename=%s' % \ |
|
156 | response.content_disposition = 'attachment; filename=%s' % \ | |
156 |
f_path.split( |
|
157 | f_path.split(os.sep)[-1].encode('utf8', 'replace') | |
157 |
|
158 | |||
158 | response.content_type = file_node.mimetype |
|
159 | response.content_type = file_node.mimetype | |
159 | return file_node.content |
|
160 | return file_node.content |
General Comments 0
You need to be logged in to leave comments.
Login now