summaryrefslogtreecommitdiff
path: root/Postman/PostmanInputSanitizer.php
diff options
context:
space:
mode:
authorNiels de Blaauw <niels@level-level.com>2019-03-13 11:01:58 +0100
committerNiels de Blaauw <niels@level-level.com>2019-03-13 11:01:58 +0100
commit82e333429a153ee2e327950314af6520a23617da (patch)
treea29fe15494ca72b6272331556dfb760e7caeb656 /Postman/PostmanInputSanitizer.php
parent08511ba5aa15b6a7100fa2856700784c27a2c15e (diff)
downloadPost-SMTP-82e333429a153ee2e327950314af6520a23617da.zip
Fixes #27, changes 'unknown' doctypes to 'mixed'
Diffstat (limited to 'Postman/PostmanInputSanitizer.php')
-rw-r--r--Postman/PostmanInputSanitizer.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Postman/PostmanInputSanitizer.php b/Postman/PostmanInputSanitizer.php
index 6e08717..66c2dd0 100644
--- a/Postman/PostmanInputSanitizer.php
+++ b/Postman/PostmanInputSanitizer.php
@@ -121,10 +121,10 @@ if ( ! class_exists( 'PostmanInputSanitizer' ) ) {
/**
* Sanitize a Basic Auth password, and base64-encode it
*
- * @param unknown $desc
- * @param unknown $key
- * @param unknown $input
- * @param unknown $new_input
+ * @param mixed $desc
+ * @param mixed $key
+ * @param mixed $input
+ * @param mixed $new_input
*/
private function sanitizePassword( $desc, $key, $input, &$new_input, $existingPassword ) {
// WordPress calling Sanitize twice is a known issue