Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1122515
  • Loading branch information
Lili Nader committed Jul 28, 2014
1 parent d7b9577 commit ff4f22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/openshift-origin-common/utils/git.rb
Expand Up @@ -49,7 +49,7 @@ def self.safe_clone_spec(url, schemes=ALLOWED_SCHEMES, ref=nil)
# (commit/branch/treeish/relative) or nil otherwise.
#
def self.safe_clone_ref_spec(ref)
ref && !ref.empty? && ref =~ %r(\A[\w\d\-_\.\^~]+\Z) ? ref : nil
ref && !ref.empty? && ref =~ %r(\A[\w\d\/\-_\.\^~]+\Z) ? ref : nil
end

#
Expand Down

0 comments on commit ff4f22b

Please sign in to comment.