getsolus / ferryd

Fast, safe and reliable transit for the delivery of software updates to users.
https://getsol.us
Apache License 2.0
15 stars 5 forks source link

Escape non-ASCII characters in eopkg index #27

Closed silkeh closed 4 months ago

silkeh commented 5 months ago

Escape unicode symbols, control characters and spaces that are not ASCII code points. These types or characters have a tendency to break eopkg.

Resolves #26.

silkeh commented 5 months ago

This zip contains the before and after for the unstable repository. I recommend using something like the following to see the difference:

git diff --word-diff --no-index eopkg-index{.old,}.xml