Access decoded and encoded URL properties
masterThe URL object provides two types of properties for accessing URL components:
- Decoded properties: Return the human-readable, unencoded version of the component (e.g.,
user,password,host,path,query_string). - Encoded properties: Prefixed with
raw_, these return the component in its percent-encoded format (e.g.,raw_user,raw_host,raw_path).
Use decoded properties for logic and display, and raw_ properties when you need the exact wire format or need to avoid double-unquoting issues.