diff --git a/Clckwrks/Server.hs b/Clckwrks/Server.hs
--- a/Clckwrks/Server.hs
+++ b/Clckwrks/Server.hs
@@ -103,7 +103,7 @@
              case getHeader "host" rq of
                Nothing -> return ()
                (Just hostBS) ->
-                   if (clckHostname cc == B.unpack hostBS)
+                   if (clckHostname cc == (B.unpack $ B.takeWhile (/= ':') hostBS))
                    then return ()
                    else escape $ seeOther ((if rqSecure rq then (fromJust $ calcTLSBaseURI cc) else (calcBaseURI cc)) <> (Text.pack $ rqUri rq) <> (Text.pack $ rqQuery rq)) (toResponse ())
 
diff --git a/clckwrks.cabal b/clckwrks.cabal
--- a/clckwrks.cabal
+++ b/clckwrks.cabal
@@ -1,5 +1,5 @@
 Name:                clckwrks
-Version:             0.23.7
+Version:             0.23.8
 Synopsis:            A secure, reliable content management system (CMS) and blogging platform
 Description:         clckwrks (pronounced, clockworks) aims to compete
                      directly with popular PHP-based blogging and CMS
@@ -89,8 +89,8 @@
 
   Build-depends:
      acid-state                   >= 0.12 && < 0.13,
-     aeson                        >= 0.5  && < 0.9,
-     aeson-qq                     >= 0.7  && < 0.8,
+     aeson                        >= 0.5  && < 0.10,
+     aeson-qq                     >= 0.7  && < 0.9,
      attoparsec                   >= 0.10 && < 0.14,
      base                                    < 5,
      blaze-html                   >= 0.5  && < 0.9,
@@ -109,7 +109,7 @@
      hsx2hs                       >= 0.13 && < 0.14,
      ixset                        == 1.0.*,
      jmacro                       == 0.6.*,
-     lens                         >= 4.3  && < 4.10,
+     lens                         >= 4.3  && < 4.12,
      mtl                          >= 2.0  && < 2.3,
      old-locale                   ==  1.0.*,
      process                      >= 1.0  && < 1.3,
