Commit edb16197905a89ed490639b97918cb526853234f
Committed by
Paulo Meireles
1 parent
e4c01928
Exists in
master
and in
29 other branches
[Mezuro] fixed error_page call in profile controller.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb
... | ... | @@ -101,7 +101,8 @@ class MezuroPluginProfileController < ProfileController |
101 | 101 | end |
102 | 102 | |
103 | 103 | def redirect_to_error_page(message) |
104 | - redirect_to "/profile/#{profile.identifier}/plugin/mezuro/error_page?message=#{message}" | |
104 | + message = URI.escape(CGI.escape(message),'.') | |
105 | + redirect_to "/profile/#{profile.identifier}/plugins/mezuro/error_page?message=#{message}" | |
105 | 106 | end |
106 | 107 | |
107 | 108 | def project_content_has_errors? | ... | ... |