Skip to content

"Copy As"/"Copy Remote File Url" copies %23 instead of # in case of Gitea #2252

@Eugeny48

Description

@Eugeny48

Description

my.code-workspace

{
	"folders": [
	],
	"settings": {
		"gitlens.remotes": [{
			"domain": "my.com",
			"type": "Gitea"
		}]
	}
}

For github repos "Copy Remote File Url" works fine, but for Gitea repos the command replaces "#" character with "%23":

https://my.com/project/src/commit/00000000000000000/repo/folder/file.txt%23L20

But it should be

https://my.com/project/src/commit/00000000000000000/repo/folder/file.txt#L20

GitLens Version

v12.2.2

VS Code Version

Version: 1.72.0 (user setup)
Commit: 64bbfbf67ada9953918d72e1df2f4d8e537d340e
Date: 2022-10-04T23:20:39.912Z (2 days ago)
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

Git Version

git version 2.29.2.windows.2

Logs, Screenshots, Screen Captures, etc

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions