better fix for slash in view metadata
The homomorphs are back, just encoded such that it doesn't crash in LANG=C However, I noticed a bug in the old escaping; [pseudoSlash] was escaped the same as ['/','/']. Fixed by using '%' to escape pseudoSlash. Which requires doubling '%' to escape it, but that's already done in the escaping of worktree filenames in a view, so is probably ok.
This commit is contained in:
parent
42619e2231
commit
51bc32e21e
3 changed files with 30 additions and 14 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -48,9 +48,8 @@ git-annex (6.20151219) UNRELEASED; urgency=medium
|
|||
* rekey: No longer copies over urls from the old to the new key.
|
||||
It makes sense for migrate to do that, but not for this low-level
|
||||
(and little used) plumbing command to.
|
||||
* view: Avoid using cute unicode homomorphs for '/' and '\' and instead
|
||||
use ugly escaping, as the unicode method doesn't work on non-unicode
|
||||
supporting systems.
|
||||
* view: Fix crash in non-unicode capable locale when entering a view
|
||||
of metadata containing a slash or backslash.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Sat, 19 Dec 2015 13:31:17 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue