question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Note Location" does not allow nested directories (strips path characters)

See original GitHub issue

First 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.

Screen Shot 2022-04-10 at 5 10 08 PM

However, when I download a tweet, it deletes the / and merges the path:

Screen Shot 2022-04-10 at 5 10 49 PM

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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
clintgiblercommented, Apr 12, 2022

It works, thanks so much! 🙌 Will create a few standalone issues so things don’t get cluttered in this issue.

0reactions
kbravhcommented, Apr 12, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found