mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 11:51:42 +00:00
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
|
||||
@normalized_paths ||= normalized_urls.map do |u|
|
||||
"/#{u.split('/', 4).last}"
|
||||
end.map do |u|
|
||||
URI.decode_www_form_component u
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue