decodificar las urls para poder buscarlas en el log
This commit is contained in:
parent
449829ff09
commit
ab004fae70
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ class StatsController < ApplicationController
|
||||||
def normalized_paths
|
def normalized_paths
|
||||||
@normalized_paths ||= normalized_urls.map do |u|
|
@normalized_paths ||= normalized_urls.map do |u|
|
||||||
"/#{u.split('/', 4).last}"
|
"/#{u.split('/', 4).last}"
|
||||||
|
end.map do |u|
|
||||||
|
URI.decode_www_form_component u
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue