1. 17 10月, 2014 2 次提交
    • R
      Avoid HandlerMapping attribute in ResourceUrlProvider · 97441d05
      Rossen Stoyanchev 提交于
      The use of the HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE
      in ResourceUrlProvider (as a way of saving lookup path determination)
      leads to incorrect results. For example when the request is forwarded
      the current requestUri may no longer be compariable to the value of the
      PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE. Also where the request is mapped
      using a pattern, the value of PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE is
      not the same as the lookup path.
      
      This change removes the use of the attribute from ResourceUrlProvider
      and instead always determines the lookup path when getForRequestUrl
      is called.
      
      Issue: SPR-12332
      97441d05
    • A
      Enhance SpEL compilation to cover additional expression types · 115f85e4
      Andy Clement 提交于
      This change introduces support for compilation of expressions
      involving inline lists, string concatenation and method
      invocations where the method being invoked is declared
      with a varargs parameter. It also fixes a problem with
      compiling existing method invocations where the target
      method is on a non public type.
      
      Issue: SPR-12328
      115f85e4
  2. 16 10月, 2014 7 次提交
  3. 15 10月, 2014 2 次提交
    • R
      Prepend leading slash in ResourceUrlProvider · 24d77f32
      Rossen Stoyanchev 提交于
      The getForRequestUrl method of ResourceUrlProvider uses the
      HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE attribute to
      determine the relevant portion of the resource URL path.
      
      However there are cases when that attribute may not have a leading
      (e.g. when the current URL was matched to a prefix-based pattern
      and hence extracted via PathMatcher#extractPathWithinPattern), which
      interferes with the matching of resource URL paths to patterns.
      
      This change ensures a leading slash is present
      
      Issue: SPR-12281
      24d77f32
    • R
      Polish resource handling tests · fa4ba2a8
      Rossen Stoyanchev 提交于
      fa4ba2a8
  4. 14 10月, 2014 8 次提交
  5. 13 10月, 2014 3 次提交
  6. 11 10月, 2014 2 次提交
  7. 08 10月, 2014 5 次提交
  8. 07 10月, 2014 11 次提交