summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-11-21 19:40:09 +0000
committerDries Buytaert <dries@buytaert.net>2006-11-21 19:40:09 +0000
commitb3dae71697597835c31aea71b13b3a516d3fa457 (patch)
tree9569d1c6c788afd03b0bb19859386ac45403f28a /includes
parent8996aad911c329ca71c8dc3c8847b9eb87c7a3a0 (diff)
downloadbrdo-b3dae71697597835c31aea71b13b3a516d3fa457.tar.gz
brdo-b3dae71697597835c31aea71b13b3a516d3fa457.tar.bz2
- Patch #98293 by Steven: remove restrictions on path aliases.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc3
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