Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML entities in path #13

Closed
abelcheung opened this issue Mar 30, 2019 · 1 comment
Closed

XML entities in path #13

abelcheung opened this issue Mar 30, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@abelcheung
Copy link
Owner

In XML output mode, character inside paths need to be escaped as entities, but this is not done right now:

character entity
& &
" "
' '
< &lt;
> &gt;

For reference, Microsoft doc mentions file names with these characters are not allowed:

  • <>:"\/|?*
  • [\x0-\x1F]

On the other hand NTFS layer seems to be very liberal and has no disallowed character value except \x0.

@abelcheung abelcheung added the bug label Mar 30, 2019
@abelcheung abelcheung added this to the 0.7 milestone Mar 30, 2019
@abelcheung abelcheung self-assigned this Mar 30, 2019
@abelcheung
Copy link
Owner Author

As paths would be wrapped inside CDATA section (see issue #14 ), xml entities inside paths need not be converted anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant