You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/11/21 17:15:14 UTC

[Bug 54184] New: Tomcat 7.0.32, IE & javascript comments - number of dashes must be even

https://issues.apache.org/bugzilla/show_bug.cgi?id=54184

            Bug ID: 54184
           Summary: Tomcat 7.0.32, IE & javascript comments - number of
                    dashes must be even
           Product: Tomcat 7
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: bill.tomcat@beanfactory.co.uk
    Classification: Unclassified

see my blog entry
http://billcomer.blogspot.co.uk/2012/11/tomcat-7032-ie-javascript-comments.html
for more info.

essentially with IE on tomcat 7.0.32 if you have a javascript comment
with an uneven number of dashes then it fails.

IE these are bad

<%--- a comment with three dashes ---%>
<%----- a comment with three dashes -----%>

these are good

<%-- a comment with three dashes --%>
<%---- a comment with three dashes ----%>

Previous versions of tomcat - well 7.0.29 atleast and earlier were fine.

Swapping out the jasper jars fixes the issue

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54184] Tomcat 7.0.32, IE & javascript comments - number of dashes must be even

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54184

--- Comment #2 from bill <bi...@beanfactory.co.uk> ---
Quite agree Mark,

That was just me trying to work out where the issue was.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54184] Tomcat 7.0.32, IE & javascript comments - number of dashes must be even

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54184

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
As an aside, swapping Jasper JAR files between version is not guaranteed to be
safe. If you do that, you are on your own.

*** This bug has been marked as a duplicate of bug 53986 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org