missing bits from 2.6.0/3.1.0
[mdref/mdref-http] / http / Url / mod.md
index 52b1f536c812f19e0855b2356a12f84a8ef71562..59289ff40ed235e847391d013980eaef905a1791 100644 (file)
@@ -1,16 +1,27 @@
-# 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:
 
 * http\Url, clone.
+
+## Throws:
+
+* http\Exception\InvalidArgumentException
+* http\Exception\BadUrlException
+
+## Changelog:
+
+0. v2.5.0
+       * Added http\Url::SANITIZE_PATH to default flags.