Skip to content
Snippets Groups Projects
Commit 36b54fc0 authored by Douwe Maan's avatar Douwe Maan
Browse files

Don't crash when project repository doesn't exist.

parent ac5af614
No related branches found
No related tags found
No related merge requests found
Please view this file on the master branch, on stable branches it's out of date. Please view this file on the master branch, on stable branches it's out of date.
   
v 7.10.0 (unreleased) v 7.10.0 (unreleased)
- Don't crash when project repository doesn't exist.
- Fix broken file browsing with a submodule that contains a relative link (Stan Hu) - Fix broken file browsing with a submodule that contains a relative link (Stan Hu)
- Fix persistent XSS vulnerability around profile website URLs. - Fix persistent XSS vulnerability around profile website URLs.
- Fix project import URL regex to prevent arbitary local repos from being imported. - Fix project import URL regex to prevent arbitary local repos from being imported.
Loading
Loading
Loading
@@ -126,7 +126,7 @@ class ApplicationController < ActionController::Base
Loading
@@ -126,7 +126,7 @@ class ApplicationController < ActionController::Base
   
def repository def repository
@repository ||= project.repository @repository ||= project.repository
rescue Grit::NoSuchPathError(e) rescue Grit::NoSuchPathError => e
log_exception(e) log_exception(e)
nil nil
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment