Single quote in URL

asked 2013-04-08 15:52:11 +0800

isimplelab gravatar image isimplelab

Hi all.

We have a problem with single quote in URL. For example, if user entered some URL like this: http://somehost/someapp/login' browser showed only 'Processing...' box without any activity. Reason for this is the bad JavaScript code generated by class org.zkoss.zk.ui.sys.HtmlPageRenders. Particularly its method appendProp doesn't escape value returned by method org.zkoss.zk.ui.Desktop.getRequestPath.

What is the right way to solve this problem?

Thanks in advance for the help and sorry for my english.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2013-04-08 15:52:11 +0800

Seen: 10 times

Last updated: Apr 08 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More