Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL #2955

Merged
merged 11 commits into from Jul 3, 2018

Commits on Jun 28, 2018

  1. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Added useHeadersProxyURL parameter to the global settings page
    - Refactored ProxifyingURLMangler.java to follow use the Proxy Base URL
      only when the useHeadersProxyUERL is not set
    lmorandini committed Jun 28, 2018
    Copy the full SHA
    8af0fa2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    06b31d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2018

  1. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Added template expansion with QuickTemplate
    - Added headers of interest to the template
    - Added more than one template in the smae base proxy URL
    lmorandini committed Jun 29, 2018
    Copy the full SHA
    20262b0 View commit details
    Browse the repository at this point in the history
  2. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Adde case-insensitive header names template expansion
    lmorandini committed Jun 29, 2018
    Copy the full SHA
    e64f1be View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2018

  1. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Added a check against base proxy URL being null
    - Dropped base proxy URL validator in the gloabl settings page
      (template expressions do not pass the URL validator, of course)
    lmorandini committed Jun 30, 2018
    Copy the full SHA
    f6e7b71 View commit details
    Browse the repository at this point in the history
  2. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Used enum in lieu of static members to hold header names
    lmorandini committed Jun 30, 2018
    Copy the full SHA
    1b2961d View commit details
    Browse the repository at this point in the history
  3. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Used enum in lieu of static members to hold header names
    lmorandini committed Jun 30, 2018
    Copy the full SHA
    67322f7 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    29d992c View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2018

  1. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Added "Forwarded" header the templates
    - For simmmetry with the "Forwrded-Path" header, a non-standard
      "path=<path value" header value component  is supprtorted.
      For example, this template
      ${Forwarded.proto}://${Forwarded.host}/${Forwarded.path}/geoserver
      can be expanded with this header
      Forwarded: proto=http; host=example.com:8080; path=public
      to
      http://example.com:8080/public/geoserver
    lmorandini committed Jul 3, 2018
    Copy the full SHA
    2eb7eff View commit details
    Browse the repository at this point in the history
  2. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Corrected copyright years in headers
    - Reverted ColorMapLegendCreatore.java to its original state
    lmorandini committed Jul 3, 2018
    Copy the full SHA
    507c496 View commit details
    Browse the repository at this point in the history
  3. [GEOS-8240] Support X-Forwarded-Proto header in ResponseUtils.baseURL

    - Reverted ColorMapLegendCreatore.java to its original state
    lmorandini committed Jul 3, 2018
    Copy the full SHA
    14588d8 View commit details
    Browse the repository at this point in the history