Wicket
  1. Wicket
  2. WICKET-4119

FileResourceStream returns unknown content type

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: wicket
    • Labels:
      None

      Description

      See http://apache-wicket.1842946.n4.nabble.com/PackageResourceReference-and-Doctype-in-Markup-file-tp3889467p3889587.html

      The response for FileResourceStreams returns an unknown content type for css- and image-files. Correct content types should be "text/css" and "image/png" (see also attached quickstart).

      1. quickstart.zip
        26 kB
        Dirk Forchel

        Issue Links

          Activity

          Hide
          Dirk Forchel added a comment -

          Quicktstart application with custom ResourceStreamLocator with FileResourceStreams for locating resources.

          Show
          Dirk Forchel added a comment - Quicktstart application with custom ResourceStreamLocator with FileResourceStreams for locating resources.
          Hide
          Martin Grigorov added a comment -

          Fixed with r1181006.
          Thanks!

          Show
          Martin Grigorov added a comment - Fixed with r1181006. Thanks!

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Dirk Forchel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development