mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-21 17:00:01 +02:00
Handle CORS requests (#6289)
This commit is contained in:
parent
6fb58a8cdc
commit
34d06f4c6b
170 changed files with 5220 additions and 2124 deletions
2
vendor/github.com/Unknwon/com/html.go
generated
vendored
2
vendor/github.com/Unknwon/com/html.go
generated
vendored
|
@ -36,7 +36,7 @@ func HtmlEncode(str string) string {
|
|||
return html.EscapeString(str)
|
||||
}
|
||||
|
||||
// decode string to html chars
|
||||
// HtmlDecode decodes string to html chars
|
||||
func HtmlDecode(str string) string {
|
||||
return html.UnescapeString(str)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue