Closed dotnetCarpenter closed 8 years ago
@jfhbrook Is my english that bad?
Nah I just let this get lost in the shuffle.
Are there characters which would be good candidates for checking encoding that are in fact legal in windows and mac/linux ?
Yes, the Windows illegal characters are \ / < > | * ? " :
I also posted them in #172
Sorry, misread your question
@jfhbrook as I wrote in #172, the attack we're protecting us against is only made possible by using characters that are not legal on Windows. So in order to check that ecstatic is in fact encoding these directory names, you have to have a directory that is illegal to have on Windows. I can't think of a way out. Perhaps someone knows in some security forum?
I think the characters just have to be ones that need to be html encoded, yeah?
At any rate I agree, this should be documented.
I think the simplest way to overcome our tests, for malformed directory listings links, breaking git on Windows, is to educate Windows users about the caveat. This is my attempt to do so.