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 2017/05/30 09:46:49 UTC

[Bug 61134] New: Unexpected [ ] in public text on default error pages

https://bz.apache.org/bugzilla/show_bug.cgi?id=61134

            Bug ID: 61134
           Summary: Unexpected [ ] in public text on default error pages
           Product: Tomcat 8
           Version: 8.5.15
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: knst.kolinko@gmail.com
  Target Milestone: ----

Text patterns used by default error pages now have '[' ']' symbols around
substituted text fragments.

This feature is useful for lines printed to log files, but for error pages
displayed to human users this is a bit unfriendly.

With current Tomcat 8.5.x
1. Start Tomcat
2. Go to a non-existing page, e.g. http://localhost:8080/404

3. ACTUAL: The page title is
HTTP Status [404] – [Not Found]

EXPECTED:
HTTP Status 404 – Not Found

-- 
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 61134] Unexpected [ ] in public text on default error pages

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

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Violeta Georgieva <vi...@apache.org> ---
Hi,

I applied a patch provided by Katya Todorova via GitHub PR#61.
Fixed in:
- trunk for 9.0.0.M22 onwards
- 8.5.x for 8.5.16 onwards

Regards,
Violeta

-- 
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 61134] Unexpected [ ] in public text on default error pages

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

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
Sample output: attachment 35000 (in bug 61111)

-- 
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 61134] Unexpected [ ] in public text on default error pages

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

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Beginner

-- 
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 61134] Unexpected [ ] in public text on default error pages

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

--- Comment #2 from Michael Osipov <19...@gmx.net> ---
That's indeed weird. This has been introduced in r1792132 for 8.5.x.

-- 
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 61134] Unexpected [ ] in public text on default error pages

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

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
I thought this was intentional. Mark added [...] around all dynamic elements to
make it clear without using e.g. quotes, etc.

-- 
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 61134] Unexpected [ ] in public text on default error pages

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

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
It was intentional but I can see that it might look awkward in this particular
instance. I don't mind it but I'm not going to object of the change is reverted
for this one case. I would ask that a comment is added to the property file to
document the exception.

-- 
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