1. 23 8月, 2019 1 次提交
  2. 24 6月, 2019 3 次提交
  3. 21 6月, 2019 2 次提交
  4. 20 6月, 2019 1 次提交
  5. 13 6月, 2019 1 次提交
  6. 06 6月, 2019 1 次提交
  7. 10 4月, 2019 2 次提交
  8. 05 4月, 2019 1 次提交
  9. 04 4月, 2019 1 次提交
    • S
      Require explicit path mappings for @RequestMapping methods · c0b52d09
      Sam Brannen 提交于
      Prior to this commit, handler methods in Spring MVC controllers were
      not required to provide explicit path mappings via @RequestMapping (or
      any of its specializations such as @GetMapping). Such handler methods
      were effectively mapped to all paths. Consequently, developers may have
      unwittingly mapped all requests to a single handler method.
      
      This commit addresses this by enforcing that @RequestMapping methods
      are mapped to an explicit path. Note, however, that this is enforced
      after type-level and method-level @RequestMapping information has been
      merged.
      
      Developers wishing to map to all paths should now add an explicit path
      mapping to "/**" or "**".
      
      Closes gh-22543
      c0b52d09
  10. 30 3月, 2019 1 次提交
  11. 28 3月, 2019 1 次提交
  12. 23 3月, 2019 1 次提交
  13. 22 3月, 2019 3 次提交
  14. 25 10月, 2018 1 次提交
  15. 19 7月, 2018 1 次提交
  16. 17 7月, 2018 1 次提交
  17. 28 6月, 2018 2 次提交
  18. 19 6月, 2018 1 次提交
  19. 14 6月, 2018 1 次提交
  20. 12 6月, 2018 2 次提交
    • J
      Remove outdated Servlet environment constraints from annotation javadoc · 0b64bcd3
      Juergen Hoeller 提交于
      Issue: SPR-16936
      0b64bcd3
    • A
      SPR-16936 Fix PathVariable javadoc · 2573a543
      Allon Mureinik 提交于
      @PathVariable's javadoc states that it supports MultiValueMap
      parameters (introduced by commit df0902), but by reading through the
      code, that does not seem to be the case (compare, e.g.,
      PathVariableMapMethodArgumentResolver to
      RequestParamMapMethodArgumentResolver).
      
      Moreover, parsing MultipleValueMap is done according to the ";"
      character, and placing such a character in a path (e.g., consider
      something like "/app/{param}/show" would just break the path.
      
      This patch fixes PathVariable's javadoc by removing the mention of
      MultiValueMap.
      2573a543
  21. 23 5月, 2018 1 次提交
  22. 09 4月, 2018 1 次提交
  23. 30 3月, 2018 1 次提交
  24. 27 3月, 2018 1 次提交
  25. 02 2月, 2018 1 次提交
  26. 08 1月, 2018 1 次提交
  27. 21 12月, 2017 1 次提交
    • S
      Improve CORS list properties combination logic · 0075f131
      sdeleuze 提交于
      This commit allows CorsConfiguration#combine()
      to differentiate permit default values set by
      CorsConfiguration#applyPermitDefaultValues()
      from values configured explicitly by the user.
      
      Those permit default values will be overridden
      by any user-provided ones while user-provided values
      will be combined in an additive way, including
      when "*" is specified.
      
      Documentation has been improved accordingly.
      
      Issue: SPR-15772
      0075f131
  28. 29 11月, 2017 2 次提交
  29. 23 11月, 2017 1 次提交
    • S
      Disable CORS credentials by default · 652e5c55
      sdeleuze 提交于
      Access-Control-Allow-Credentials CORS header, used to
      allow cookies with CORS requests, is not set to true
      anymore by default when enabling CORS with
      @CrossOrigin or global CORS configuration in order to
      provide a more secured default CORS configuration.
      
      The related allowCredentials property now requires to
      be set to true explicitly in order to support cookies
      with CORS requests.
      
      Issue: SPR-16130
      652e5c55
  30. 21 10月, 2017 1 次提交
  31. 18 10月, 2017 1 次提交