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

Escape search query (Backport 1.4) #3488

Merged
merged 2 commits into from
Feb 11, 2018

Conversation

jonasfranz
Copy link
Member

Backport of #3486

Signed-off-by: Jonas Franz <info@jonasfranz.de>

(cherry picked from commit 2970889)
@lafriks lafriks added the topic/security Something leaks user information or is otherwise vulnerable. Should be fixed! label Feb 11, 2018
@lafriks lafriks added this to the 1.4.0 milestone Feb 11, 2018
@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 11, 2018
@@ -27,6 +27,7 @@ import (
"golang.org/x/net/html/charset"
"golang.org/x/text/transform"
"gopkg.in/editorconfig/editorconfig-core-go.v1"
"html"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to stdlibs. Missed this in original PR.

Signed-off-by: Jonas Franz <info@jonasfranz.de>
Copy link
Contributor

@cez81 cez81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cez81
Copy link
Contributor

cez81 commented Feb 11, 2018

LGTM

@tboerger tboerger 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 Feb 11, 2018
@lafriks lafriks merged commit c0675ef into go-gitea:release/v1.4 Feb 11, 2018
@jonasfranz jonasfranz deleted the escape-html-backport-v1.4 branch February 11, 2018 20:23
@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/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/security Something leaks user information or is otherwise vulnerable. Should be fixed!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants