Commit 19109a94 authored by uran's avatar uran Committed by yglukhov

Stability improvement

parent fe104386
......@@ -234,7 +234,9 @@ module ProjectsHelper
def hidden_pass_url(original_url)
result = URI(original_url)
result.password = '*****' if result.password.present?
result.password = '*****' unless result.password.nil?
result
rescue
original_url
end
end
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