"Note Location" does not allow nested directories (strips path characters)
See original GitHub issueFirst off, thanks for creating an awesome plugin, it saves me a ton of time! 🙏
I’m trying to set the “Note Location” to a nested directory, for example, assets/twitter
.
However, when I download a tweet, it deletes the /
and merges the path:
Ideally I would like to be able to save tweets to arbitrary folders, not just top level ones.
Thanks again so much for creating a great plugin!
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to remove bad path characters in Python? - Stack Overflow
I think the safest approach here is to just replace any suspicious characters. So, I think you can just replace (or get rid...
Read more >Special filenames - Cygwin
Certain files in Cygwin's /etc directory are read by Cygwin before the mount table ... path, strips off the innermost directory component and...
Read more >What is directory traversal, and how to prevent it? - PortSwigger
In this section, we'll explain what directory traversal is, describe how to carry out path traversal attacks and circumvent common obstacles, and spell...
Read more >How do I move files and directories to the parent folder in Linux?
It will move all files from all subdirectories to the parent of the current directory, too. I'd use -maxdepth 1 to be sure....
Read more >Python Tutorial - File and Text Processing
The path separator is platform-dependent (Windows use '\' , while Unixes/Mac OS use '/' ). For portability, It is important NOT to hardcode...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It works, thanks so much! 🙌 Will create a few standalone issues so things don’t get cluttered in this issue.
I’ve just released version 2.3.2 that fixes this issue. I’ve also begun adding tests to hopefully prevent silly stuff like this in the future. Hope this helps!