Rebol Programming/decode-url

USAGE: edit

DECODE-URL url 

DESCRIPTION: edit

Decode a URL into an object.

DECODE-URL is a function value.

ARGUMENTS edit

  • url -- (Type: any)

SOURCE CODE edit

decode-url: func [
    "Decode a URL into an object." 
    url 
    /local purl
][
    purl: context [user: pass: host: port-id: path: target: none] 
    parse-url/no-error purl url
]