git-annex/Utility
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
..
DirWatcher update my email address and homepage url 2015-01-21 12:50:09 -04:00
LockFile update my email address and homepage url 2015-01-21 12:50:09 -04:00
Applicative.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Base64.hs 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
Batch.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Bloom.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
CoProcess.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
CopyFile.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Daemon.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Data.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
DataUnits.hs merge change from propellor 2015-01-21 23:13:50 -04:00
DBus.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Directory.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
DirWatcher.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
DiskFree.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Dot.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
DottedVersion.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Env.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Exception.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
ExternalSHA.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
FileMode.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
FileSize.hs build fix 2015-01-20 17:27:42 -04:00
FileSystemEncoding.hs 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
Format.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
FreeDesktop.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Glob.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Gpg.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Hash.hs Added MD5 and MD5E backends. 2015-02-04 13:47:54 -04:00
HumanNumber.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
HumanTime.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
InodeCache.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
JSONStream.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
libdiskfree.c update my email address and homepage url 2015-01-21 12:50:09 -04:00
libdiskfree.h Renamed diskfree.c to avoid OSX case insensativity bug. 2012-04-13 11:26:39 -04:00
libkqueue.c update my email address and homepage url 2015-01-21 12:50:09 -04:00
libkqueue.h fix prototype 2012-06-19 01:57:19 -04:00
libmounts.c update my email address and homepage url 2015-01-21 12:50:09 -04:00
libmounts.h Got removable media mount detection working on Android. 2013-05-04 16:19:25 -04:00
LinuxMkLibs.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
LockFile.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
LogFile.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Lsof.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Matcher.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Metered.hs bittorrent: Fix mojibake introduced in parsing arai2c progress output. 2015-02-10 12:34:34 -04:00
Misc.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Monad.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Mounts.hsc update my email address and homepage url 2015-01-21 12:50:09 -04:00
Network.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
NotificationBroadcaster.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
OSX.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Parallel.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
PartialPrelude.hs rename readMaybe to readish 2012-01-23 17:00:10 -04:00
Path.hs Windows: Fix bug in dropping an annexed file, which caused a symlink to be staged that contained backslashes. 2015-02-09 15:37:26 -04:00
Percentage.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
PID.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
PosixFiles.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Process.hs Fix build with process 1.2.1.0. 2015-01-04 13:07:57 -04:00
QuickCheck.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Quvi.hs fix intentional typo left in after debugging session, broke quvi support (last release is ok) 2015-02-19 14:31:04 -04:00
Rsync.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
SafeCommand.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Scheduled.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Shell.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
SimpleProtocol.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
SRV.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
SshConfig.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Tense.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
ThreadLock.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
ThreadScheduler.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
TList.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Tmp.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Touch.hsc update my email address and homepage url 2015-01-21 12:50:09 -04:00
URI.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Url.hs import Data.Default in Common 2015-01-28 16:11:28 -04:00
UserInfo.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Verifiable.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
WebApp.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
winprocess.c windows: Fix process termination code. 2014-02-13 15:53:10 -04:00
WinProcess.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Yesod.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00