Skip to content

resolved LFS over SSH - #1296 (parsing payload string) #1302

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

Closed
wants to merge 2 commits into from
Closed

resolved LFS over SSH - #1296 (parsing payload string) #1302

wants to merge 2 commits into from

Conversation

kubatyszko
Copy link
Contributor

Per issue #1296

I managed to find a quick solution to the 401 error I've been getting.
The payload has a string "upload" followed by a hex string - and the line of code I changed ensures that the comparison works in either case.

…ks if that string has additional elemets following. Resolves #1296
@lunny lunny added this to the 1.2.0 milestone Mar 17, 2017
@lunny lunny added the type/bug label Mar 17, 2017
@lunny
Copy link
Member

lunny commented Mar 17, 2017

@fabian-z maybe you can help to confirm this PR.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 17, 2017
@fabian-z
Copy link
Contributor

The command passed to the ssh authentication logic seems to be invalid according to the spec, causing issue with the string parsing.

This should not be merged since it targets the wrong place in the code for the issue to be handled. The relevant code is in cmd/serv.go.
I would suggest closing this PR and continuing in #1296 where I'll be glad to look into the issue.

@fabian-z
Copy link
Contributor

This PR was superseded by #1328

@lunny lunny removed this from the 1.2.0 milestone Mar 23, 2017
@lunny lunny closed this Mar 23, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants