Make sure we quote the args for hget to keep rc from interpreting special chars in the URL. Reference: /n/sources/patch/applied/plumb-basic-quote-hget-args Date: Thu Jul 20 05:13:24 CES 2006 Signed-off-by: uriel@cat-v.org --- /sys/lib/plumb/basic Thu Jul 20 05:05:24 2006 +++ /sys/lib/plumb/basic Thu Jul 20 05:05:21 2006 @@ -10,7 +10,7 @@ # cheap http/gif,jpeg,ps,pdf renderer type is text data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?.,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*\.(jpe?g|JPE?G|gif|GIF|ps|PS|pdf|PDF|png|PNG)' -plumb start rc -c 'hget '$0' | page -w' +plumb start rc -c 'hget '''$0''' | page -w' # rtf files go to wdoc2txt type is text