github withastro/astro @astrojs/node@11.0.2

latest releases: @astrojs/language-server@2.16.11, @astrojs/markdown-satteri@0.3.3, @astrojs/solid-js@7.0.1...
4 hours ago

Patch Changes

  • #17252 eb6f97e Thanks @matthewp! - Fixes trailing-slash handling for request paths that begin with a backslash

    With trailingSlash: 'always', the standalone Node server could append a trailing slash to a request path that begins with a backslash (for example /\example.com/foo) and echo that path back in the Location header of a 301 response. Because browsers resolve a leading \ the same way as /, the resulting Location could point off-site.

    Such paths are now recognized as internal paths, matching the existing handling for paths that begin with //, so they are no longer rewritten with a trailing slash.

  • Updated dependencies [eb6f97e]:

    • @astrojs/internal-helpers@0.10.1

Don't miss a new astro release

NewReleases is sending notifications on new releases.