unmangled mangled urls from the log before passing to external special remote

This commit is contained in:
Joey Hess 2014-12-08 19:27:40 -04:00
parent 2f6150b48d
commit aafb121068

View file

@ -223,7 +223,8 @@ handleRequest' lck external req mp responsehandler
handleRemoteRequest (SETURLMISSING key url) =
setUrlMissing (externalUUID external) key url
handleRemoteRequest (GETURLS key prefix) = do
mapM_ (send . VALUE) =<< getUrlsWithPrefix key prefix
mapM_ (send . VALUE . fst . getDownloader)
=<< getUrlsWithPrefix key prefix
send (VALUE "") -- end of list
handleRemoteRequest (DEBUG msg) = liftIO $ debugM "external" msg
handleRemoteRequest (VERSION _) =