Skip to content

Conversation

@martinRenou
Copy link
Member

The current is_hidden implementation considers the path path/to/my/./file.txt to be hidden, while it's not. This PR fixes it by normalizing the paths prior to compute the is_hidden logic.

Similar fix in jupyter_server jupyter-server/jupyter_server#886

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@blink1073 blink1073 merged commit bc6b771 into jupyter:main Jun 22, 2022
@martinRenou martinRenou deleted the is_hidden_use_normalized_paths branch June 23, 2022 06:48
@blink1073 blink1073 added the bug label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants