summaryrefslogtreecommitdiff
path: root/vendor/github.com/tdewolff/parse/v2/common.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-03-24 10:53:20 +0000
committerLibravatar GitHub <noreply@github.com>2025-03-24 10:53:20 +0000
commitf7e5f31c6bc9adbcc9620f7dbb1be1820e3e0be6 (patch)
treeecdab8d86354d0570d92106ad4a2dc6deb588409 /vendor/github.com/tdewolff/parse/v2/common.go
parent[chore]: Bump github.com/miekg/dns from 1.1.63 to 1.1.64 (#3936) (diff)
downloadgotosocial-f7e5f31c6bc9adbcc9620f7dbb1be1820e3e0be6.tar.xz
[chore]: Bump github.com/tdewolff/minify/v2 from 2.21.3 to 2.22.3 (#3933)
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.21.3 to 2.22.3. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.21.3...v2.22.3) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/tdewolff/parse/v2/common.go')
-rw-r--r--vendor/github.com/tdewolff/parse/v2/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/tdewolff/parse/v2/common.go b/vendor/github.com/tdewolff/parse/v2/common.go
index 1883d1bd4..05f881739 100644
--- a/vendor/github.com/tdewolff/parse/v2/common.go
+++ b/vendor/github.com/tdewolff/parse/v2/common.go
@@ -534,7 +534,7 @@ func DecodeURL(b []byte) []byte {
c = c<<4 + int(b[j]-'a') + 10
}
}
- if j == i+3 && c < 128 {
+ if j == i+3 {
b[i] = byte(c)
b = append(b[:i+1], b[i+3:]...)
}