File: comment_1_f44b285c7d3b04db73747369793d2ca2._comment

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
file content (18 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2025-03-26T15:36:35Z"
 content="""
> `xw%5CXV%5C` should be something like `xw/XV` so some conversion of
> the windows backslash to posix might not be working

That was a good analysis, thanks!

I see that Remote.HttpAlso.supportedLayouts uses hashDirLower and
hashDirMixed. Which are implemented using OS-native path separators.
So, on Windows, that does come out with the slash the wrong way around.
I don't think that the actual url-encoding of it is problimatic.

I've put in a workaround. I have not tested on windows, so please re-open
this bug report if you upgrade and find it still somehow doesn't work.
"""]]