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

Remove trailing slash when requesting directory content #224

Merged
merged 2 commits into from
Dec 1, 2015

Conversation

Shredder121
Copy link
Contributor

I noticed something strange on GitHub's end.

When requesting content from a directory (with a specific ref), you get ref-specific content.

Now look closely what happens when you add a trailing slash.

What is your view on this?

@Shredder121 Shredder121 force-pushed the directory-content-trailing-slash branch from 0522742 to 7dc571e Compare October 6, 2015 07:43
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #398 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@Shredder121
Copy link
Contributor Author

Could someone restart the build 😄
I first saw a mistake, so pushed a new solution.
EDIT: it should make a new job by itself, nevermind

@buildhive
Copy link

Kohsuke Kawaguchi » github-api #399 SUCCESS
This pull request looks good
(what's this?)

@Shredder121
Copy link
Contributor Author

Only merge if it's an issue that we should fix.
And only then I still want to add in a test case.

@Shredder121 Shredder121 force-pushed the directory-content-trailing-slash branch from 7dc571e to 092e906 Compare October 6, 2015 16:25
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #400 SUCCESS
This pull request looks good
(what's this?)

@oleg-nenashev
Copy link
Collaborator

I have no strong opinion about the fix, but it looks reasonable to me.
CC @KostyaSha

@KostyaSha
Copy link
Contributor

Sorry, have no opinion. Will it be possible to make some test case?

@Shredder121
Copy link
Contributor Author

I did so just now.

kohsuke added a commit that referenced this pull request Dec 1, 2015
…lash

Remove trailing slash when requesting directory content
@kohsuke kohsuke merged commit f868969 into hub4j:master Dec 1, 2015
@Shredder121 Shredder121 deleted the directory-content-trailing-slash branch December 1, 2015 13:54
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.

5 participants