Hello community,

here is the log from the commit of package ghc-http-client for openSUSE:Factory 
checked in at 2015-06-10 09:15:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-client (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-http-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-http-client"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-http-client/ghc-http-client.changes  
2015-05-21 08:36:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-client.new/ghc-http-client.changes     
2015-06-10 09:15:42.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jun  8 06:30:24 UTC 2015 - mimi...@gmail.com
+
+- update to 0.4.11.3
+* Fix getUri to insert "?" to uriQuery when necessary. 
+
+-------------------------------------------------------------------

Old:
----
  http-client-0.4.11.2.tar.gz

New:
----
  http-client-0.4.11.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-http-client.spec ++++++
--- /var/tmp/diff_new_pack.k6Ry35/_old  2015-06-10 09:15:43.000000000 +0200
+++ /var/tmp/diff_new_pack.k6Ry35/_new  2015-06-10 09:15:43.000000000 +0200
@@ -21,9 +21,9 @@
 %bcond_with tests
 
 Name:           ghc-http-client
-Version:        0.4.11.2
+Version:        0.4.11.3
 Release:        0
-Summary:        HTTP client engine, intended as a base layer. 
+Summary:        HTTP client engine, intended as a base layer 
 License:        MIT
 Group:          System/Libraries
 

++++++ http-client-0.4.11.2.tar.gz -> http-client-0.4.11.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.11.2/ChangeLog.md 
new/http-client-0.4.11.3/ChangeLog.md
--- old/http-client-0.4.11.2/ChangeLog.md       2015-04-29 07:17:20.000000000 
+0200
+++ new/http-client-0.4.11.3/ChangeLog.md       2015-06-05 05:52:18.000000000 
+0200
@@ -1,3 +1,7 @@
+## 0.4.11.3
+
+* Fix getUri to insert "?" to uriQuery when necessary. 
[#123](https://github.com/snoyberg/http-client/pull/123)
+
 ## 0.4.11.2
 
 * Removed publicsuffixlist dependency, see [Github 
discussion](https://github.com/litherum/publicsuffixlist/pull/7)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.11.2/Network/HTTP/Client/Request.hs 
new/http-client-0.4.11.3/Network/HTTP/Client/Request.hs
--- old/http-client-0.4.11.2/Network/HTTP/Client/Request.hs     2015-04-29 
07:17:20.000000000 +0200
+++ new/http-client-0.4.11.3/Network/HTTP/Client/Request.hs     2015-06-05 
05:52:18.000000000 +0200
@@ -107,7 +107,10 @@
         , uriPort = ':' : show (port req)
         }
     , uriPath = S8.unpack $ path req
-    , uriQuery = S8.unpack $ queryString req
+    , uriQuery =
+        case S8.uncons $ queryString req of
+            Just (c, _) | c /= '?' -> '?' : (S8.unpack $ queryString req)
+            _ -> S8.unpack $ queryString req
     , uriFragment = ""
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.11.2/http-client.cabal 
new/http-client-0.4.11.3/http-client.cabal
--- old/http-client-0.4.11.2/http-client.cabal  2015-04-29 07:17:20.000000000 
+0200
+++ new/http-client-0.4.11.3/http-client.cabal  2015-06-05 05:52:18.000000000 
+0200
@@ -1,5 +1,5 @@
 name:                http-client
-version:             0.4.11.2
+version:             0.4.11.3
 synopsis:            An HTTP client engine, intended as a base layer for more 
user-friendly packages.
 description:         Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
<http://www.stackage.org/package/http-client>.
 homepage:            https://github.com/snoyberg/http-client


Reply via email to