chore: update issues URLs to new repository

This commit is contained in:
Julien Neuhart
2021-08-22 13:27:40 +02:00
parent 0cfac31bca
commit 0e417430b8
4 changed files with 6 additions and 6 deletions

View File

@@ -124,8 +124,8 @@ func newContext(echoCtx echo.Context, logger *zap.Logger, timeout time.Duration)
copyToDisk := func(fh *multipart.FileHeader) error {
// Avoid directory traversal and normalize filename.
// See https://github.com/thecodingmachine/gotenberg/issues/104.
// See https://github.com/thecodingmachine/gotenberg/issues/228.
// See https://github.com/gotenberg/gotenberg/issues/104.
// See https://github.com/gotenberg/gotenberg/issues/228.
t := transform.Chain(norm.NFD, runes.Remove(runes.In(unicode.Mn)), norm.NFC)
filename, _, err := transform.String(t, strings.ToLower(filepath.Base(fh.Filename)))