diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-01-28 16:54:45 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-01-28 16:54:45 +0100 |
commit | 15130caa8d3f4650d383647050ce918de728bc53 (patch) | |
tree | d57277bef5e51e7ae4fc72e9fe360f9e17463db7 /user_guide/libraries/validation.html | |
parent | b261439cf3f12ce047b4dcc576fcbd511075ba29 (diff) |
* Added valid_base64() to the Validation class
* Tightened up validation of the supplied string given to the decode() method of the Encryption class (#3320)
Diffstat (limited to 'user_guide/libraries/validation.html')
-rw-r--r-- | user_guide/libraries/validation.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html index f9cac856b..facd1a583 100644 --- a/user_guide/libraries/validation.html +++ b/user_guide/libraries/validation.html @@ -602,6 +602,12 @@ For example, your "username" error will be available at:<br /><dfn>$this->valida <td class="td">Returns FALSE if the supplied IP is not valid.</td>
<td class="td"> </td>
</tr>
+<tr>
+ <td class="td"><strong>valid_base64</strong></td>
+ <td class="td">No</td>
+ <td class="td">Returns FALSE if the supplied string contains anything other than valid Base64 characters.</td>
+ <td class="td"> </td>
+</tr>
</table>
<p><strong>Note:</strong> These rules can also be called as discreet functions. For example:</p>
|