Opened 12 years ago

Closed 12 years ago

#1690 closed defect (duplicate)

quote excape problem

Reported by: base Owned by: everyone
Priority: blocker Milestone:
Component: web Version: 3.1.1
Keywords: quote Cc: franck.samson@…



I've just installed the latest base server on my tomcat 6.0.29 with java 1.6.0_21 and I have this problem : for example on each jsp page here is the tomcat log : title==null ? "Biosources" : title is quoted with " which must be escaped when used within the value

This problem is due to this line :

<base:page title="<%=title==null ? "Biosources" : title%>" type="<%=mode.getPageType()%>">

if I change this to : <base:page title="<%=title==null ? \"Biosources\" : title%>" type="<%=mode.getPageType()%>">

it will works... But there is 445 jsp files to check ...

Is there another solution?

Change History (1)

comment:1 by Nicklas Nordborg, 12 years ago

Resolution: duplicate
Status: newclosed

This is a configuration issue with Tomcat. Check the second bullet about "strict parsing of JSP files" in the "Tomcat" section of the installation instructions or the old ticket #1081.

Note: See TracTickets for help on using tickets.