9b93278e8a
The fix is to stop using w82s, which does not properly reconstitute unicode strings. Instrad, use utf8 bytestring to get the [Word8] to base64. This passes unicode through perfectly, including any invalid filesystem encoded characters. Note that toB64 / fromB64 are also used for creds and cipher embedding. It would be unfortunate if this change broke those uses. For cipher embedding, note that ciphers can contain arbitrary bytes (should really be using ByteString.Char8 there). Testing indicated it's not safe to use the new fromB64 there; I think that characters were incorrectly combined. For credpair embedding, the username or password could contain unicode. Before, that unicode would fail to round-trip through the b64. So, I guess this is not going to break any embedded creds that worked before. This bug may have affected some creds before, and if so, this change will not fix old ones, but should fix new ones at least. |
||
---|---|---|
.. | ||
Android | ||
android | ||
assistant | ||
automatic_conflict_resolution | ||
backends | ||
bare_repositories | ||
bugs | ||
coding_style | ||
contact | ||
copies | ||
design | ||
devblog | ||
direct_mode | ||
download | ||
ekg | ||
encryption | ||
footer | ||
forum | ||
future_proofing | ||
how_it_works | ||
install | ||
internals | ||
license | ||
links | ||
metadata | ||
news | ||
not | ||
polls | ||
preferred_content | ||
scalability | ||
special_remotes | ||
sync | ||
templates | ||
testimonials | ||
tips | ||
todo | ||
tuning | ||
upgrades | ||
use_case | ||
users | ||
videos | ||
walkthrough | ||
Android.mdwn | ||
assistant.mdwn | ||
automatic_conflict_resolution.mdwn | ||
backends.mdwn | ||
bare_repositories.mdwn | ||
bugs.mdwn | ||
builds.mdwn | ||
chunking.mdwn | ||
coding_style.mdwn | ||
comments.mdwn | ||
contact.mdwn | ||
contribute.mdwn | ||
copies.mdwn | ||
design.mdwn | ||
devblog.mdwn | ||
direct_mode.mdwn | ||
distributed_version_control.mdwn | ||
download.mdwn | ||
ekg.mdwn | ||
encryption.mdwn | ||
favicon.ico | ||
feeds.mdwn | ||
forum.mdwn | ||
future_proofing.mdwn | ||
git-annex-shell.mdwn | ||
git-annex.mdwn | ||
git-union-merge.mdwn | ||
how_it_works.mdwn | ||
index.mdwn | ||
install.mdwn | ||
internals.mdwn | ||
license.mdwn | ||
location_tracking.mdwn | ||
logo-old-bw.svg | ||
logo-old.png | ||
logo-old.svg | ||
logo-old_small.png | ||
logo.mdwn | ||
logo.svg | ||
logo_16x16.png | ||
logo_32x32.png | ||
logo_small.png | ||
meta.mdwn | ||
metadata.mdwn | ||
news.mdwn | ||
not.mdwn | ||
polls.mdwn | ||
preferred_content.mdwn | ||
privacy.mdwn | ||
publicrepos.mdwn | ||
related_software.mdwn | ||
repomap.png | ||
required_content.mdwn | ||
scalability.mdwn | ||
shortcuts.mdwn | ||
sidebar.mdwn | ||
sitemap.mdwn | ||
special_remotes.mdwn | ||
submodules.mdwn | ||
summary.mdwn | ||
sync.mdwn | ||
testimonials.mdwn | ||
thanks.mdwn | ||
tips.mdwn | ||
todo.mdwn | ||
transferring_data.mdwn | ||
trust.mdwn | ||
tuning.mdwn | ||
upgrades.mdwn | ||
users.mdwn | ||
videos.mdwn | ||
walkthrough.mdwn |