Skip to content

Conversation

mrsdizzie
Copy link
Member

Make sure file attachments on a release get a properly escaped URL when
linking.

Fixes #6506

Make sure file attachments on a release get a properly escaped URL when
linking.

Fixes go-gitea#6506
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 5, 2019
@zeripath zeripath added this to the 1.9.0 milestone Apr 5, 2019
@zeripath zeripath added backport/done All backports for this PR have been created backport/v1.8 type/bug and removed backport/done All backports for this PR have been created labels Apr 5, 2019
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 5, 2019
@codecov-io
Copy link

Codecov Report

Merging #6512 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6512      +/-   ##
==========================================
+ Coverage   40.26%   40.26%   +<.01%     
==========================================
  Files         403      403              
  Lines       54069    54069              
==========================================
+ Hits        21770    21772       +2     
+ Misses      29282    29280       -2     
  Partials     3017     3017
Impacted Files Coverage Δ
models/repo_list.go 67.89% <0%> (+1.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9bf20f4...7ee1c71. Read the comment docs.

@techknowlogick techknowlogick merged commit 0bdd81d into go-gitea:master Apr 5, 2019
@techknowlogick
Copy link
Member

@mrsdizzie merged. Please backport :)

mrsdizzie added a commit to mrsdizzie/gitea that referenced this pull request Apr 5, 2019
Make sure file attachments on a release get a properly escaped URL when
linking.

Fixes go-gitea#6506
@techknowlogick techknowlogick added the backport/done All backports for this PR have been created label Apr 5, 2019
techknowlogick pushed a commit that referenced this pull request Apr 5, 2019
Make sure file attachments on a release get a properly escaped URL when
linking.

Fixes #6506
6543 added a commit to 6543-forks/gitea that referenced this pull request Dec 28, 2019
* before only first got downloaded - now each is downloadable
* dos also take care of  go-gitea#6506 (fix was: go-gitea#6512)
zeripath pushed a commit that referenced this pull request Dec 28, 2019
* Handle if two or more attachments have the same name
* previously only the first could be downloaded - now each is downloadable
* dos also take care of  #6506 (fix was: #6512)
* use func Downloadurl("") at issue attatchments too
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

attachments download url not encode
6 participants