Skip to content

Handle bad directory conditions better #253

@miketheman

Description

@miketheman

Example: https://inspector.pypi.io/project/medifile/2.1/packages/d6/b0/aabfa3c54d33657403f225f05e00f6686f428b77e7103be508c3da6c0a2a/medifile-2.1.tar.gz/

The files have a leading /./ which makes them unbrowseable - and inspector returns a 404.

These kinds of "broken" distributions can't be uploaded to PyPI any longer, but older ones before these checks were in place exist on the index.

I can imagine a couple of options here, if inspector encounters this pattern:

  • show a message and don't link to the files
  • figure out a way to actually link to the files anyways

Maybe some other solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions