5
0
Fork 0
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:
f 2021-10-22 18:21:47 -03:00
parent 449829ff09
commit ab004fae70

View file

@ -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