[PR #1302] [CLOSED] resolved LFS over SSH - #1296 (parsing payload string) #15851

Closed
opened 2025-11-02 11:56:06 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1302
Author: @kubatyszko
Created: 3/17/2017
Status: Closed

Base: masterHead: master


📝 Commits (2)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 modules/lfs/server.go (+2 -1)

📄 Description

Per issue https://github.com/go-gitea/gitea/issues/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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1302 **Author:** [@kubatyszko](https://github.com/kubatyszko) **Created:** 3/17/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`e6f11c3`](https://github.com/go-gitea/gitea/commit/e6f11c37050de1eb63d0ab0b8baeab0a24da77bf) resolved LFS over SSH - searching payload for string "upload" now works if that string has additional elemets following. Resolves #1296 - [`262cdc1`](https://github.com/go-gitea/gitea/commit/262cdc19c3baa984af7d2c47596d474f21baa65f) Merge branch 'master' of https://github.com/go-gitea/gitea ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modules/lfs/server.go` (+2 -1) </details> ### 📄 Description Per issue https://github.com/go-gitea/gitea/issues/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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:56:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15851