single quote causing problem with early version IE
posted 15 years ago
web application in JSP, name on page contains sigle quote, such as O'Brain does not work, when click on it, instead of going to another jsp page, it'll simply gives "Error on Page" at the bottom left conner and do nothing. All name has been encoded: login.jsp?name=<%= java.net.URLEncoder.encode(name) %> view source would see: login.jsp?name=O%2527Brain%2B
It works on the current IE 5.5, also netscape, Opera, AOL...., only shows problem on lower version IE, such as 5.0. Does anybody know how to workaround this problem instead of asking all users to update IE?