Opened 10 years ago

Closed 10 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@…

Description

Hello,

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 Changed 10 years ago by Nicklas Nordborg

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.

http://base.thep.lu.se/chrome/site/latest/html/admin/installation.main.html

Note: See TracTickets for help on using tickets.