M
Mike McIntyre
In a Web.sitemap file I need to include URLs that include spaces. I use %20
to escape the spaces:
<siteMapNode title="Useful Strings" description=""
url="http://getdotnetco.web119.discounta...rticles/A Few Useful String Class Methods.htm">
</siteMapNode>
Even so, I get this error when I include the URLs with the escaped spaces.
Server Error in '/CampaignNavigationControl' Application.
--------------------------------------------------------------------------------
The 'url' property had a malformed URL:
http://getdotnetco.web119.discounta...rticles/A Few Useful String Class Methods.htm.
If I remove all the %20 escapes, I don't get the error - but of course the
URLs no longer work.
Any suggestions?
to escape the spaces:
<siteMapNode title="Useful Strings" description=""
url="http://getdotnetco.web119.discounta...rticles/A Few Useful String Class Methods.htm">
</siteMapNode>
Even so, I get this error when I include the URLs with the escaped spaces.
Server Error in '/CampaignNavigationControl' Application.
--------------------------------------------------------------------------------
The 'url' property had a malformed URL:
http://getdotnetco.web119.discounta...rticles/A Few Useful String Class Methods.htm.
If I remove all the %20 escapes, I don't get the error - but of course the
URLs no longer work.
Any suggestions?