Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tornadoweb/tornado
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.5.9
Choose a base ref
...
head repository: tornadoweb/tornado
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.5.10
Choose a head ref
  • 9 commits
  • 6 files changed
  • 2 contributors

Commits on Sep 14, 2026

  1. docs: Add credit for Yasha-ops to 6.5.9 release notes

    They reported the StaticFileHandler issue and were in fact the
    first to do so.
    bdarnell committed Sep 14, 2026
    Configuration menu
    Copy the full SHA
    baaedd7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3721 from bdarnell/relnotes-fix

    docs: Add credit for Yasha-ops to 6.5.9 release notes
    bdarnell authored Sep 14, 2026
    Configuration menu
    Copy the full SHA
    8f66d2d View commit details
    Browse the repository at this point in the history
  3. docs: More proofreading of release notes

    afldl was erroneously credited with the StaticFileHandler issue.
    Correct spelling of iaohkut-from-NightWolf-Team.
    bdarnell committed Sep 14, 2026
    Configuration menu
    Copy the full SHA
    acae151 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3722 from bdarnell/relnotes-fix-2

    docs: More proofreading of release notes
    bdarnell authored Sep 14, 2026
    Configuration menu
    Copy the full SHA
    bec4c82 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2026

  1. web: Fix subclasses that do not set allowed_symlink_directory

    allowed_symlink_directory was added in 6.5.9 as an attribute assigned in
    initialize(). Projects that subclass StaticFileHandler with their own
    initialize() that does not call ours never set it, so every static file
    request failed with
    
        AttributeError: 'FileFindHandler' object has no attribute
        'allowed_symlink_directory'
    
    Jupyter is the most prominent example, and it also shows why the
    attribute cannot simply default to self.root: its FileFindHandler
    searches a list of directories, so self.root is a tuple of paths, and
    its validate_absolute_path passes the one that matched down to us.
    
    Give allowed_symlink_directory a class-level default of None, which
    subclasses inherit whatever their initialize() does, and resolve that
    default in validate_absolute_path against the root it was given.
    _resolve_symlink_target becomes a static method taking only the values
    its caller settled on, so that it cannot read a directory from self that
    differs from the one the other path checks used.
    
    Fixes #3724
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Brgh48sZusx4pzHwygor7q
    claude committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    6bd9c4e View commit details
    Browse the repository at this point in the history
  2. web: Allow a list of allowed_symlink_directory values

    A deployment whose symlink targets live in several places had to name a
    single directory containing all of them, which meant allowing more than
    it wanted. allowed_symlink_directory may now be a list, and the resolved
    path is accepted if it is inside any entry.
    
    This also gives applications with several static roots - Jupyter's
    FileFindHandler is the motivating example - a way to describe what they
    serve, and it helps on Windows, where a directory can legitimately be
    reached under more than one name.
    
    _resolve_symlink_target takes only a list: validate_absolute_path wraps
    the single-directory and default cases, so the static method has one
    shape to check against.
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Brgh48sZusx4pzHwygor7q
    claude committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    494648f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3725 from bdarnell/jupyter-fix

    web: Improve compatibility with StaticFileHandler subclasses
    bdarnell authored Sep 15, 2026
    Configuration menu
    Copy the full SHA
    dde5765 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0084ec View commit details
    Browse the repository at this point in the history
  5. Merge pull request #3727 from bdarnell/relnotes-6510

    Release notes and version bump for 6.5.10
    bdarnell authored Sep 15, 2026
    Configuration menu
    Copy the full SHA
    143a06b View commit details
    Browse the repository at this point in the history
Loading