From ab004fae700db1f3b72cd1a44ec403fdabb8c452 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 22 Oct 2021 18:21:47 -0300 Subject: [PATCH] decodificar las urls para poder buscarlas en el log --- app/controllers/stats_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index b9b93e9..44073c1 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -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