[support] URL changes in 4.7

Alejandro Exojo suy at kurly.org
Mon Jun 26 15:58:22 UTC 2006


El Lunes, 26 de Junio de 2006 16:43, Earl Miles escribió:
> >> I've been thinking that what we really need is a simple filter that
> >> would properly do urls. It could look, for example, like:
> >>
> >> [url=node/123]
> >>    
> >
> > What do you think this syntax brings that HTML doesn't have? I don't see
> > your point.
> >
>
> What it brings is that with HTML you have to know the relative path in
> Drupal 4.7; while you don't need to know the site, if your site is at:
>
> http://www.example.com/foo/bar
>
> Just using href='node/25' won't work. You need to use
> href='/foo/bar/node/25' which can complicate multi-site quite a bit.

But your syntax is not HTML, so web browsers don't understand it, so it needs 
to be converted, _and_ the path needs to be modified prepending "/foo/bar/" 
to it. With just HTML, only the URL needs to be modified.

-- 
Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
http://barnacity.net/ - Jabber ID: suy at bulmalug.net


More information about the support mailing list