v2 put/get don't perform tilde homedir expansion
See original GitHub issuei have set
remote= '~/temp'
put api translated it to '/home/user/~/temp'
that caused the process to fail .
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Tilde in path doesn't expand to home directory - Stack Overflow
When the shell evaluates the string cd $a , it first performs tilde expansion (which is a no-op, since $a does not contain...
Read more >Why isn't tilde recognised as home folder in this case?
22. @Pilot6 No, in both examples shown, the path is quoted. · 2. The expansion of ~ to your home directory is a...
Read more >Tilde Expansion (Bash Reference Manual) - GNU.org
If this login name is the null string, the tilde is replaced with the value of the HOME shell variable. If HOME is...
Read more >REST Resources Provided By: Bitbucket Server - REST
If the user has not been deleted first then this endpoint will return a bad request and no erasure will be performed. Erasing...
Read more >rfc4825.txt - » RFC Editor
47 Rosenberg Standards Track [Page 2] RFC 4825 XCAP May 2007 10. ... XCAP resources do not represent processing scripts; as a result,...
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
@pint12 to be super clear so you don’t have to read all the above: please try simply using
temp/
instead of~/temp/
, if you hadn’t already. Should work fine!Went with “just update the docs informing users to use relative paths only”.
Should somebody come along with an amazing reason why I’m an idiot (meaning both a use case requiring tildes instead of relative paths, and a method of performing expansion which is lightweight enough to be worth using) we can always revisit.