1. 04 12月, 2018 1 次提交
  2. 27 11月, 2018 2 次提交
    • R
      Polish · 3eee118b
      Rossen Stoyanchev 提交于
      3eee118b
    • O
      Sanitize request fragment in ResourceUrlEncodingFilter · 959cf616
      Ondrej Kraus 提交于
      Prior to this change, ResourceUrlEncodingFilter would try to resolve
      the resource path using request URL without removing fragment first,
      whereas only paths should be used.
      
      This commit synchronizes behavior of ResourceUrlEncodingFilter with
      behavior of ResourceUrlProvider.
      
      Issue: SPR-17535
      959cf616
  3. 23 11月, 2018 1 次提交
  4. 22 11月, 2018 1 次提交
  5. 21 11月, 2018 3 次提交
  6. 19 11月, 2018 3 次提交
  7. 17 11月, 2018 2 次提交
  8. 13 11月, 2018 1 次提交
  9. 12 11月, 2018 1 次提交
  10. 06 11月, 2018 1 次提交
  11. 05 11月, 2018 1 次提交
  12. 30 10月, 2018 1 次提交
  13. 26 10月, 2018 2 次提交
  14. 25 10月, 2018 4 次提交
    • B
      Fix absolute paths when transforming resources · 2146e137
      Brian Clozel 提交于
      Prior to this commit, `ResourceTransformerSupport.toAbsolutePath`
      would call `StringUtils.applyRelativePath` in all cases. But this
      implementation is prepending the given path even if the relative path
      starts with `"/"`.
      
      This commit skips the entire operation if the given path is absolute,
      i.e. it starts with `"/"`.
      
      Issue: SPR-17432
      2146e137
    • J
      67bd3f67
    • B
      Fix ResourceUrlEncodingFilter lifecycle · 50a47691
      Brian Clozel 提交于
      Prior to this commit, the `ResourceUrlEncodingFilter` would wrap the
      response and keep a reference to the request. When
      `HttpServletResponse.encodeURL` is later called during view rendering,
      the filter looks at the request and extracts context mapping information
      in order to resolve resource paths in views.
      
      This approach is flawed, when the filter is used with JSPs - if the
      request is forwarded to the container by the `InternalResourceView`,
      the request information is overwritten by the container. When the view
      is being rendered, the information available in the request is outdated
      and does not allow to correctly compute that context mapping
      information.
      
      This commit ensures that that information is being extracted from the
      request as soon as the `ResourceUrlProvider` is set as a request
      attribute.
      
      Issue: SPR-17421
      50a47691
    • J
      Polishing · ffa032e7
      Juergen Hoeller 提交于
      ffa032e7
  15. 23 10月, 2018 1 次提交
    • R
      Restore log level for resolved exceptions · 41e6aa6d
      Rossen Stoyanchev 提交于
      The fix for SPR-17178 switched from debug to warn level warning for
      all sub-classes of AbstractHandlerExceptionResolver where the request
      concerned the DefaultHandlerExceptionResolver only.
      
      This commit restores the original DEBUG level logging that was in
      AbstractHandlerExceptionResolver from before SPR-17178. In addition
      DefaultHandlerExceptionResolver registers a warnLogCategory by default
      which enables warn logging and hence fulfilling the original goal
      for SPR-17178.
      
      Issue: SPR-17383
      41e6aa6d
  16. 22 10月, 2018 1 次提交
  17. 19 10月, 2018 1 次提交
  18. 15 10月, 2018 1 次提交
  19. 10 10月, 2018 1 次提交
  20. 17 9月, 2018 3 次提交
  21. 15 9月, 2018 2 次提交
    • R
      Add LogFormatUtils · db8e9eaf
      Rossen Stoyanchev 提交于
      1. Helper method to eliminate duplication in formatting (de-)serialized
         values for logging introduced with prior commit #e62298.
      
      2. Helper method for TRACE vs DEBUG logging with different details.
      
      Issue: SPR-17254
      db8e9eaf
    • R
      Truncate logged encoded and decoded values if necessary · e62298ea
      Rossen Stoyanchev 提交于
      At DEBUG show up to 100 chars, at TRACE show full formatted value.
      
      Note that the formatValue helper method is duplicated a number of times
      in this commit. A utility method will likely be added in spring-core
      through an extra commit.
      
      Issue: SPR-17254
      e62298ea
  22. 14 9月, 2018 2 次提交
  23. 10 9月, 2018 1 次提交
  24. 08 9月, 2018 2 次提交
  25. 05 9月, 2018 1 次提交