Menu

#7 TextHtmlMimeTypeOnlyRule: Exception not caught

v1.0 (example)
wont-fix
EJP
None
5
2021-07-15
2004-07-16
parker20121
No

When a resource does not have a mime type, it throws
an exception which isn't caught in
TextHtmlMimeTypeOnlyRule. I fixed the attached code.

Discussion

  • parker20121

    parker20121 - 2004-07-16

    TextHtmlMimeTypeOnlyRule.java

     
  • parker20121

    parker20121 - 2004-09-21
    • status: open --> closed
     
  • parker20121

    parker20121 - 2004-09-21
    • status: closed --> open
     
  • Wanjun Hu

    Wanjun Hu - 2004-09-30

    Logged In: YES
    user_id=1093368

    but how to solve the very bug.pls

     
  • EJP

    EJP - 2021-07-15
    • status: open --> wont-fix
    • assigned_to: EJP
    • Group: --> v1.0 (example)
     
  • EJP

    EJP - 2021-07-15

    The only exception that can be thrown is InvalidStateForActionException, which indicates a coding bug. Unclear why this should be fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB