diff --git a/token.tokens.inc b/token.tokens.inc
index 29ac76f..2f8ec1b 100644
--- a/token.tokens.inc
+++ b/token.tokens.inc
@@ -218,7 +218,7 @@ function token_token_info() {
   $info['types']['url'] = array(
     'name' => t('URL'),
     'description' => t('Tokens related to URLs.'),
-    'needs-data' => 'url',
+    'needs-data' => 'path',
   );
   $info['tokens']['url']['path'] = array(
     'name' => t('Internal path'),
