[drupal-devel] [feature] Handle external URLs
asimmonds
drupal-devel at drupal.org
Sat Apr 2 01:18:51 UTC 2005
Issue status update for http://drupal.org/node/19842
Project: Drupal
Version: cvs
Component: base system
Category: feature requests
Priority: normal
Assigned to: chx
Reported by: chx
Updated by: asimmonds
Status: patch
I'm fairly certain external URLs already work in with url() if you have
Clean URLs enabled.
IMO http://drupal.org/node/10888 is a cleaner solution for people who
can't use Clean URLs.
asimmonds
Previous comments:
------------------------------------------------------------------------
April 2, 2005 - 11:50 : chx
Attachment: http://drupal.org/files/issues/externalurl.patch (448 bytes)
This very simple patch lets you add external URLs to your menu or
wherever, 'cos I patched url() itself.
Please consider for 4.6.
------------------------------------------------------------------------
April 2, 2005 - 12:02 : Morbus Iff
Too naive, IMO. Needs ftp, nntp, irc, aim, blah blah blah.
------------------------------------------------------------------------
April 2, 2005 - 12:02 : Morbus Iff
Oh, and mailto.
------------------------------------------------------------------------
April 2, 2005 - 13:11 : chx
Attachment: http://drupal.org/files/issues/externalurl_0.patch (571 bytes)
and e2dk or whatever. A path is external if a) it begins with mailto: b)
method: followed by a slash. method is loosely defined as a sequence of
any characters but slash. This will evaluate a Drupal path
foor:bar/this/that external. However trackerpage/http://whatever has a
slash before the : so it will be an internal URL.
------------------------------------------------------------------------
April 2, 2005 - 13:13 : chx
Attachment: http://drupal.org/files/issues/externalurl_1.patch (480 bytes)
Oh, bad patch version :( again :(
More information about the drupal-devel
mailing list