Commit 7f313c02 authored by gubala's avatar gubala

test of path links for prom

parent 1c5dfa0f
......@@ -52,6 +52,7 @@ class ApplicationController < ActionController::Base
def sanitize_path
@path = params[:path]
@path.gsub!("gsi", "prometheus")
@path = "/#{@path}" unless @path.start_with?('/')
@path = URI.escape @path
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment