X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http%2FUrl%2Fmod.md;fp=http%2FUrl%2Fmod.md;h=ac474ecbeabd9d61fc61f24874c2624349652933;hb=594e4eea4c360ce54300e9f6030a715bc52b0029;hp=9fab9a879ead9d1cef2cffdeed03f1d2b994a8ba;hpb=7c78b1269a57a9342ed7a4eb6d268ffcd28eab5f;p=mdref%2Fmdref-http diff --git a/http/Url/mod.md b/http/Url/mod.md index 9fab9a8..ac474ec 100644 --- a/http/Url/mod.md +++ b/http/Url/mod.md @@ -1,4 +1,4 @@ -# http\Url http\Url::mod(mixed $parts[, int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY) +# http\Url http\Url::mod(mixed $parts[, int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY|http\Url::SANITIZE_PATH) Clone this URL and apply $parts to the cloned URL. @@ -8,7 +8,7 @@ Clone this URL and apply $parts to the cloned URL. * mixed $parts New URL parts. -* Optional int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY +* Optional int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY|http\Url::SANITIZE_PATH Modus operandi of URL construction. See http\Url constants. ## Returns: @@ -17,6 +17,11 @@ Clone this URL and apply $parts to the cloned URL. ## Throws: - * http\Exception\InvalidArgumentException * http\Exception\BadUrlException + +## Changelog: + +Version | Changes +--------|-------- +2.5.0 | Added http\Url::SANITIZE_PATH to default flags.