1. 01 Oct, 2014 11 commits
  2. 30 Sep, 2014 7 commits
  3. 29 Sep, 2014 1 commit
  4. 28 Sep, 2014 1 commit
  5. 26 Sep, 2014 12 commits
  6. 25 Sep, 2014 8 commits
    • Phillip Webb's avatar
      Merge branch '1.1.x' · 1ed90df6
      Phillip Webb authored
      1ed90df6
    • Phillip Webb's avatar
      Add `server.tomcat.port-header` support · bff39e95
      Phillip Webb authored
      Update Tomcat ServerProperties to support the RemoteIpValve portHeader
      property.
      
      Fixes gh-1616
      bff39e95
    • Phillip Webb's avatar
      Drop protocolHeader and remoteIpHeader defaults · 0dc46a2f
      Phillip Webb authored
      The `protocolHeader` and `remoteIpHeader` no longer have default values
      and must be opt-in.
      
      Fixes gh-1624
      0dc46a2f
    • Andy Wilkinson's avatar
      Merge branch '1.1.x' · 0c63406b
      Andy Wilkinson authored
      0c63406b
    • Andy Wilkinson's avatar
      Update ErrorPageFilter so it won’t try to forward a committed response · 72ef1d65
      Andy Wilkinson authored
      In some scenarios, the ErrorPageFilter will want to forward the request
      to an error page but the response has already been committed. One common
      cause of this is when the filter’s running on WAS. WAS calls
      flushBuffer() (which commits the response), upon a clean exit from a
      servlet’s service method.
      
      Previously, the filter would attempt the forward, even if the response
      was committed. This would result in an IllegalStateException and a
      possibly incomplete response that may also have an incorrect status
      code.
      
      This commit updates the ErrorPageFilter to check to see if the response
      has already been committed before it attempts to forward the request to
      the error page. If the response has already been committed, the filter
      logs an error and allows the container’s normal handling to kick in.
      This prevents an IllegalStateException from being thrown.
      
      This commit also updates the response wrapper to keep track of when
      sendError has been called. Now, when flushBuffer is called, if
      sendError has been called, the wrapper calls sendError on the wrapped
      response. This prevents the wrapper from suppressing an error when the
      response is committed before the request handling returns to the error
      page filter.
      
      Closes gh-1575
      72ef1d65
    • Phillip Webb's avatar
      Restore ThymeleafAutoConfiguration test · abed1f4d
      Phillip Webb authored
      Restore the test removed during the merge.
      abed1f4d
    • Phillip Webb's avatar
      Merge branch '1.1.x' · 38585ec4
      Phillip Webb authored
      38585ec4
    • Phillip Webb's avatar
      Fix failing ThymeleafAutoConfigurationTests · 258059ea
      Phillip Webb authored
      Remove accidental addition of a 1.2 test.
      258059ea