Commit 539be244 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #8176 from yglukhov/stability-fix

Stability improvement
parents 0533ae7e 19109a94
......@@ -234,8 +234,10 @@ 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
def project_wiki_path_with_version(proj, page, version, is_newest)
......
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