Skip to content

Serving root disk on Windows get's Access Denied in 0.12.* #1129

@danny0838

Description

@danny0838

When serving disk root on Windows such as T:\ bottle always returns access denied when using static_file.

Below line needs fixed:

bottle/bottle.py

Line 2465 in 246c1f6

root = os.path.abspath(root) + os.sep

This seems to be done in 0.13, but it is not yet released, package installation via pip gets only 0.12.* and is vulnerable to this issue. Could you release a hotfix version in 0.12.* if 0.13.* won't be released soon?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions