Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for branch names containing '&' and '#' for GetFile Operations. #291

Merged
merged 11 commits into from
Jan 11, 2024

Conversation

senjucanon2
Copy link
Contributor

@senjucanon2 senjucanon2 commented Jan 8, 2024

Change: Encoded Ref(which carries branch) to URL-encoding for Get File Operations for Github and Azure Git Provider.
Impact: All getFile flows for all supported Git Providers.

Testing:
Azure: Tested with branches "b1&b2" and "#123", both didn't fetch the fileContents before the fix, after fix response was correct.
Github: Tested with branches "b1&b2" and "#123", both didn't fetch the fileContents before the fix, after fix response was correct.
Gitlab: Tested with branches "b1&b2" and "#123", both didn't fetch the fileContents before the fix, after fix response was correct.
BB: Tested with branches "b1&b2" and "#123", both didn't fetch the fileContents before the fix, after fix response was correct.
BB on prem: Tested with branches "b1&b2" and "#123", both didn't fetch the fileContents before the fix, after fix response was correct.

@senjucanon2 senjucanon2 changed the title Encocded Ref to URL-encoding for Get File Operations for Github. Added support for branch names containing '&' and '#' for GetFile Operations. Jan 9, 2024
@mohitg0795 mohitg0795 merged commit 18b3b41 into drone:master Jan 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants