Commit 904366d7e0055f13a2fb070ac0301db65d67113f
Committed by
Paulo Meireles
1 parent
f0fe6609
Exists in
staging
and in
42 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,7 +101,8 @@ class MezuroPluginProfileController < ProfileController | ||
| 101 | end | 101 | end |
| 102 | 102 | ||
| 103 | def redirect_to_error_page(message) | 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 | end | 106 | end |
| 106 | 107 | ||
| 107 | def project_content_has_errors? | 108 | def project_content_has_errors? |