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

Allow "/" in branch name for initial_git_url #5666

Merged
merged 2 commits into from Jul 29, 2014

Conversation

lnader
Copy link
Contributor

@lnader lnader commented Jul 28, 2014

OpenShift::Git.safe_clone_ref_spec was returning nil for ref if ref contained "/" character. Modified the regex to allow "/" in ref.

@smarterclayton - please review

@smarterclayton
Copy link
Contributor

@liggitt can you spot any dangerous url escaping nonsense this would cause if a ref could have a slash?

@lnader
Copy link
Contributor Author

lnader commented Jul 28, 2014

FYI, this fix is for bug https://bugzilla.redhat.com/show_bug.cgi?id=1122515

@liggitt
Copy link
Contributor

liggitt commented Jul 29, 2014

I can't think of any problems

@lnader
Copy link
Contributor Author

lnader commented Jul 29, 2014

@LiGgit -thanks [merge]

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/5755/) (Image: devenv_5025)

@openshift-bot
Copy link

Evaluated for online up to ff4f22b

@openshift-bot
Copy link

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link

Origin Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/2717/)

@openshift-bot
Copy link

Evaluated for origin up to ff4f22b

@openshift-bot
Copy link

openshift-bot pushed a commit that referenced this pull request Jul 29, 2014
Merged by openshift-bot
@openshift-bot openshift-bot merged commit 8974845 into openshift:master Jul 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants