mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user