mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
parent
d6fa6a459c
commit
108a01d65f
47 changed files with 532 additions and 518 deletions
|
@ -54,8 +54,7 @@ fn should_escape(c byte, mode EncodingMode) bool {
|
|||
// escape them (because hosts can`t use %-encoding for
|
||||
// ASCII bytes).
|
||||
if c in [`!`, `$`, `&`, `\\`, `(`, `)`, `*`, `+`, `,`, `;`, `=`, `:`, `[`, `]`, `<`, `>`,
|
||||
`"`,
|
||||
] {
|
||||
`"`] {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue