git-annex/doc
Joey Hess 9b93278e8a metadata: Fix encoding problem that led to mojibake when storing metadata strings that contained both unicode characters and a space (or '!') character.
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.
2015-03-04 12:54:30 -04:00
..
Android
android
assistant Added a comment: window manager on 1st machine 2015-03-03 21:30:53 +00:00
automatic_conflict_resolution
backends Added a comment: THANK YOU JOEY 2015-02-09 14:04:27 +00:00
bare_repositories comment 2015-02-17 17:55:37 -04:00
bugs metadata: Fix encoding problem that led to mojibake when storing metadata strings that contained both unicode characters and a space (or '!') character. 2015-03-04 12:54:30 -04:00
coding_style
contact
copies
design groups 2015-03-03 22:40:58 -04:00
devblog devblog 2015-03-03 18:59:49 -04:00
direct_mode Added a comment 2015-02-17 05:22:00 +00:00
download
ekg
encryption
footer
forum Added a comment 2015-03-03 21:04:55 +00:00
future_proofing
how_it_works
install respinse 2015-02-27 15:01:29 -04:00
internals comment 2015-02-17 17:53:08 -04:00
license
links Submodules are now supported by git-annex! 2015-03-02 16:43:44 -04:00
metadata
news add news item for git-annex 5.20150219 2015-02-19 14:55:05 -04:00
not
polls
preferred_content followup 2015-02-25 15:17:42 -04:00
scalability reply 2015-01-15 14:57:23 -04:00
special_remotes Added a comment: S3 file/folder names 2015-02-19 22:22:26 +00:00
sync comment 2015-02-04 15:14:37 -04:00
templates
testimonials
tips Added a comment 2015-02-27 09:55:16 +00:00
todo comment 2015-03-04 10:29:25 -04:00
tuning comment 2015-02-04 13:13:06 -04:00
upgrades
use_case add back 1 comma 2015-02-04 15:15:17 -04:00
users update my email address and homepage url 2015-01-21 12:50:09 -04:00
videos
walkthrough remove possibly incorrect statement about walkthrough not making a direct mode repo -- depends on OS and filesystem 2015-01-20 12:43:18 -04:00
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn Added MD5 and MD5E backends. 2015-02-04 13:47:54 -04:00
bare_repositories.mdwn
bugs.mdwn
builds.mdwn update for new OSX build 2014-11-17 11:34:02 -04:00
chunking.mdwn close; all special remotes that can reasonably support chunking now do 2015-01-13 16:16:02 -04:00
coding_style.mdwn add example multiline data constructor 2014-10-31 12:41:08 -04:00
comments.mdwn
contact.mdwn update my email address and homepage url 2015-01-21 12:50:09 -04:00
contribute.mdwn
copies.mdwn
design.mdwn
devblog.mdwn update 2015-02-11 16:38:13 -04:00
direct_mode.mdwn wrapping 2015-02-17 17:38:40 -04:00
distributed_version_control.mdwn
download.mdwn
ekg.mdwn
encryption.mdwn update my email address and homepage url 2015-01-21 12:50:09 -04:00
favicon.ico
feeds.mdwn
forum.mdwn
future_proofing.mdwn
git-annex-shell.mdwn update my email address and homepage url 2015-01-21 12:50:09 -04:00
git-annex.mdwn add a link 2015-02-25 15:49:18 -04:00
git-union-merge.mdwn update my email address and homepage url 2015-01-21 12:50:09 -04:00
how_it_works.mdwn
index.mdwn
install.mdwn update the FreeBSD install command 2015-02-23 22:30:17 +00:00
internals.mdwn rework Differences data type 2015-01-28 13:50:02 -04:00
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 comment 2014-12-02 14:50:58 -04:00
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn fix doc problem noticed in a forum question 2015-02-25 15:41:55 -04:00
privacy.mdwn
publicrepos.mdwn newline 2015-01-04 19:28:41 +00:00
related_software.mdwn add gitlab-shell 2015-02-18 17:47:07 -04:00
repomap.png
required_content.mdwn
scalability.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn Added bittorrent special remote 2014-12-16 23:22:46 -04:00
submodules.mdwn Submodules are now supported by git-annex! 2015-03-02 16:43:44 -04:00
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn update my email address and homepage url 2015-01-21 12:50:09 -04:00
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
tuning.mdwn rework Differences data type 2015-01-28 13:50:02 -04:00
upgrades.mdwn
users.mdwn
videos.mdwn
walkthrough.mdwn add new walkthrough chapter on using special remotes 2015-01-20 12:41:49 -04:00