Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1814

Undertow i.u.s.h.r.PathResourceManager catches SecurityException 2.1.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.1.4.Final, 2.0.32.Final, 2.2.2.Final
    • Core
    • None

      The PathResourceManager.java does a file operation, catches Exception e and includes a SecurityException in the regular logic.
      A SecurityException MUST brake the system and stop regular operation. I will provide a fix soon.

          public Resource getResource(final String p) {
      //...
              } catch (Exception e) {
                  UndertowLogger.REQUEST_LOGGER.debugf(e, "Invalid path %s", p);
                  return null;
              }
          }
      

              flaviarnn Flavia Rainone
              xf01213 Boris Unckel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: