X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=elpher.el;h=be60abf586491024c50124f8f0c8ef109368e124;hp=56c5996c16ebc26a805ad441e318ff3d9a68f75d;hb=2cd88ac58b9f3e0d4d92db3f18ac80455dd71588;hpb=e8c010a9f70321b2671c2cf6b4cba2db8320e319 diff --git a/elpher.el b/elpher.el index 56c5996..be60abf 100644 --- a/elpher.el +++ b/elpher.el @@ -1123,6 +1123,7 @@ For instance, the filename /a/b/../c/./d will reduce to /a/c/d" (if (string-empty-p (url-filename address)) (setf (url-filename address) "/")) ;ensure empty filename is marked as absolute (setf (url-host address) (url-host (elpher-page-address elpher-current-page))) + (setf (url-port address) (url-port (elpher-page-address elpher-current-page))) (unless (string-prefix-p "/" (url-filename address)) ;deal with relative links (setf (url-filename address) (concat (file-name-directory