diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index f23e94642..cf296fddb 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -702,6 +702,9 @@ function valid_email_address($mail) { /** * Verify the syntax of the given URL. * + * This function should only be used on actual URLs. It should not be used for + * Drupal menu paths, which can contain arbitrary characters. + * * @param $url * The URL to verify. * @param $absolute |