aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-23 00:07:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-23 00:07:46 +1200
commit8d33cb2d3c514ffe5b8ad766ab160c0cf691c467 (patch)
treead05c8406cf475e5856d803bf4ebe10e1ea97c35
parent4fcb4a1c6b6f6cc247f4ad93fbadcf1fe9b3e4ff (diff)
downloaddotfiles-8d33cb2d3c514ffe5b8ad766ab160c0cf691c467.tar.gz
dotfiles-8d33cb2d3c514ffe5b8ad766ab160c0cf691c467.zip
Accept no space after semicolon in MIME type
-rwxr-xr-xbin/urlmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/urlmt b/bin/urlmt
index 7332663e..b209f26a 100755
--- a/bin/urlmt
+++ b/bin/urlmt
@@ -5,5 +5,5 @@ urlh "$1" Content-Type |
# Use last line only, remove any charset suffix
sed '
$!d
-s/; .*//
+s/;.*//
'