External link causes XML error

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Locked
HDG
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Mon May 12, 2008 2:53 pm

External link causes XML error

Post by HDG » Fri Sep 16, 2011 4:23 pm

Tested on unmodified 1.5.23.

Created a new external link with this URL:

Code: Select all

/cart/index.php?app=ecom&ns=catshow&ref=uniforms
Causes this error on the frontend:
XML Parsing Error at 1:187. Error 4: not well-formed (invalid token)

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17443
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: External link causes XML error

Post by toivo » Sun Sep 18, 2011 10:09 am

If the link points to an external website, the URL should start with http://...
Toivo Talikka, Global Moderator

HDG
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Mon May 12, 2008 2:53 pm

Re: External link causes XML error

Post by HDG » Mon Sep 19, 2011 2:57 pm

No, it's a perfectly valid URL and Joomla is fine with it. It's just a relative URL. For example, /cart/index.php works just fine as an external menu item.

[EDIT] Okay so adding the domain does work.

So the actual bug is that relative URLs in external menu item with ampersand breaks the menu.


Locked

Return to “Joomla! 1.5 Bug Reporting”