Update url encoding in actions to handle deprecation
Dieser Commit ist enthalten in:
Ursprung
39ce7248a8
Commit
61dfa9b2aa
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -282,7 +282,7 @@ class CustomWizard::Action
|
||||||
url += "&tags=#{tags.join(',')}"
|
url += "&tags=#{tags.join(',')}"
|
||||||
end
|
end
|
||||||
|
|
||||||
route_to = Discourse.base_uri + URI.encode(url)
|
route_to = Discourse.base_uri + UrlHelper.encode(url)
|
||||||
data['route_to'] = route_to
|
data['route_to'] = route_to
|
||||||
|
|
||||||
log_info("route: #{route_to}")
|
log_info("route: #{route_to}")
|
||||||
|
@ -354,7 +354,7 @@ class CustomWizard::Action
|
||||||
url += "&#{action['code']}=#{data[action['code']]}"
|
url += "&#{action['code']}=#{data[action['code']]}"
|
||||||
end
|
end
|
||||||
|
|
||||||
route_to = URI.encode(url)
|
route_to = UrlHelper.encode(url)
|
||||||
data['route_to'] = route_to
|
data['route_to'] = route_to
|
||||||
|
|
||||||
log_info("route: #{route_to}")
|
log_info("route: #{route_to}")
|
||||||
|
|
Laden …
In neuem Issue referenzieren