This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

& char in forward url

 
Kinjal Sonpal
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I'm putting a redirect to an external URL. The URL also requires some query parameters. when I put this url in the path attribute of the <forward> tag, the '&' character in url creates problem.
Is there a way to avoid the problem? May be some sort of escape char would be required.
Thanks and regards,
Kinjal Sonpal
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What problem is it creating?
 
Kinjal Sonpal
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DTD fails to understand the url. We normally validate all the xml files before they are packed. In this case the parser does not validate the string. Since right now I'm not in front of my office machine, I'll try to also post the error message.
Thanks and regards,
Kinjal Sonpal
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using
& amp ; (omit spaces)
as an Entity Reference?
[ May 03, 2004: Message edited by: Marc Peabody ]
[ May 03, 2004: Message edited by: Marc Peabody ]
 
Kinjal Sonpal
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, silly me. It never struck me. Thanks a lot for reminding this. Yes, it solved the problem.
Thanks and regards,
Kinjal Sonpal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic