Commit 55f8c3a13b53bdd331cb1d1d22ec5851ce75c29a

Authored by João M. M. da Silva + Paulo Meirelles
Committed by João M. M. da Silva
1 parent a9ea8c32

[Mezuro] fixed error_page call in profile controller.

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?