Description
XTile.script file contains this function:
function quoteUrl(text)
{ return escape(text).replace(/\+/g, '%2C').replace(/\"/g,'%22').replace(/\'/g, '%27'); }Which enocdes a '+' as %2C which decodes as a comma.
The '%2C' should be '%2B'
Perhaps the code should actually use the JavaScript encodeURI() or encodeURIComponent() functions. See:
http://xkr.us/articles/javascript/encode-compare/