1. 22 Apr, 2020 1 commit
  2. 21 Apr, 2020 5 commits
    • Phillip Webb's avatar
      Create new JarFile instance for URL connections · c85918b8
      Phillip Webb authored
      Update `JarURLConnection` to ensure that when connections are opened
      a new copy of the JarFile is provided.
      
      Prior to this commit, a single `JarFile` instance was shared which meant
      that it could be accidental closed if accessed via
      `JarURLConnection.getJarFile()`. If the underlying jar file is closed
      then it's possible for a `NoClassDefFoundError` to be thrown if running
      on JDK 11 with an active `SecurityManager`.
      
      Closes gh-17796
      c85918b8
    • Phillip Webb's avatar
      Auto-configure cors on WelcomePageHandlerMapping · 6011470b
      Phillip Webb authored
      Update `WebMvcAutoConfiguration` to automatically apply cors
      configuration to the `WelcomePageHandlerMapping`.
      
      Fixes gh-21048
      6011470b
    • Phillip Webb's avatar
      Don't throw NettyWebServer on permission errors · a2fdf23e
      Phillip Webb authored
      Update `NettyWebServer` so that the `PortInUseException` is not thrown
      for permission denied errors.
      
      Fixes gh-19807
      a2fdf23e
    • Phillip Webb's avatar
      Include cause when throwing PortInUseException · c7611112
      Phillip Webb authored
      Update classes that throw `PortInUseException` so that they also
      include the cause. Prior to this commit the cause was not included
      which could make diagnosing the real cause difficult.
      
      See gh-19807
      c7611112
    • Phillip Webb's avatar
      Polish · 85befdf1
      Phillip Webb authored
      85befdf1
  3. 20 Apr, 2020 2 commits
  4. 19 Apr, 2020 1 commit
  5. 17 Apr, 2020 1 commit
  6. 15 Apr, 2020 2 commits
  7. 14 Apr, 2020 6 commits
  8. 08 Apr, 2020 1 commit
  9. 07 Apr, 2020 2 commits
  10. 03 Apr, 2020 2 commits
  11. 02 Apr, 2020 4 commits
  12. 31 Mar, 2020 6 commits
  13. 30 Mar, 2020 1 commit
  14. 29 Mar, 2020 1 commit
  15. 28 Mar, 2020 3 commits
  16. 25 Mar, 2020 1 commit
    • Stephane Nicoll's avatar
      Do not fail if "spring.datasource.url" cannot be resolved · 18353231
      Stephane Nicoll authored
      Previously, a condition checked the value of "spring.datasource.url" to
      determine if an embedded database has to be created as a fallback. When
      the value is set with an unresolved placeholder, this fails even if
      the DataSource is going to created by another mean ultimately.
      
      This commit makes a more conservative check by only checking the
      presence of the property rather than its value.
      
      Closes gh-20438
      18353231
  17. 23 Mar, 2020 1 commit