Parse standard absolute URL paths
This commit is contained in:
@@ -16,6 +16,8 @@ Parses a URI into its component maps.
|
||||
|
||||
`return.parts` contains the parsed URI fields. `return.query` contains query parameters decoded with the same rules as `parse_query()`.
|
||||
|
||||
For absolute URLs, `parts` exposes `scheme`, `host`, optional `port`, `path`, raw `query`, and `fragment`. The normalized `path` does not include its leading slash.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user