update live stub
[mdref/mdref-http] / http / Url / mod.md
index 9fab9a879ead9d1cef2cffdeed03f1d2b994a8ba..59289ff40ed235e847391d013980eaef905a1791 100644 (file)
@@ -1,14 +1,15 @@
-# 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.
 
-> **Note:** This method returns a clone (copy) of this instance.
+> ***NOTE:***  
+> This method returns a clone (copy) of this instance.
 
 ## Params:
 
 * 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 +18,10 @@ Clone this URL and apply $parts to the cloned URL.
 
 ## Throws:
 
-
 * http\Exception\InvalidArgumentException
 * http\Exception\BadUrlException
+
+## Changelog:
+
+0. v2.5.0
+       * Added http\Url::SANITIZE_PATH to default flags.