Christopher Schultz> So, you want to /only/ escape those entities that
are /absolutely
Christopher Schultz> required/ to be escaped?

Yes.

Christopher Schultz> I'm not sure anyone really cares what URLs look
like, do they?
Konstantin Kolinko> readability? nobody reads the HTML source

Search engine bots do [1]. Some people (especially those who care
about SEO) do. This code is written for a CMS and I want to make sure
I won't get any customers coming back to me in a year asking to fix it
again - after me spending days reading RFCs and asking people on the
forums.

Christopher Schultz> And if they do, why not change them so this escaping thing
Christopher Schultz> isn't necessary?

I can't. This is a CMS where people can create pages having arbitrary
characters. And the system needs to print links to these pages in e.g.
pre-packaged site map component.

Regards,
Mindaugas

1. http://lmgtfy.com/?q=search+friendly+uri

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to