Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.2, 2.11-beta
    • Component/s: None
    • Labels:
      None

      Description

      The OWS Dispatcher has a special case for handling HttpServletRequestAware KvpRequestReaders: https://github.com/geoserver/geoserver/blob/master/src/ows/src/main/java/org/geoserver/ows/Dispatcher.java#L1492

      This adds the current HttpRequest to the KvpRequestReader bean. HttpServletRequestAware is only implemented by GetMapKvpRequestReader, which passes the HttpRequest on to GetMapRequest, where it is eventually used by OpenLayersMapOutputFormat to determine whether or not the browser properly supports OL3.

      This logic should be removed from the KvpRequestReader code and instead moved to the Dispatcher ThreadLocal.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tbarsballe Torben Barsballe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: