mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: update attributes to use new syntax
This commit is contained in:
parent
dd81cb98c6
commit
757929392e
739 changed files with 2982 additions and 2982 deletions
|
@ -461,7 +461,7 @@ fn parse_request_uri(rawurl string) !URL {
|
|||
// via_request is true, the URL is assumed to have arrived via an HTTP request,
|
||||
// in which case only absolute URLs or path-absolute relative URLs are allowed.
|
||||
// If via_request is false, all forms of relative URLs are allowed.
|
||||
[manualfree]
|
||||
@[manualfree]
|
||||
fn parse_url(rawurl string, via_request bool) !URL {
|
||||
if string_contains_ctl_u8(rawurl) {
|
||||
return error(error_msg('parse_url: invalid control character in URL', rawurl))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue