]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xpdfrc: Remove wrong quotes from urlCommand.
authorSimon Ruderich <simon@ruderich.org>
Thu, 20 Dec 2012 21:05:03 +0000 (22:05 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 20 Dec 2012 21:05:03 +0000 (22:05 +0100)
xpdfrc

diff --git a/xpdfrc b/xpdfrc
index a13d2562474ecf9cf9111fa786f1e0375b2971de..e5582091ef81f604963fb5720bc6ee3b716381be 100644 (file)
--- a/xpdfrc
+++ b/xpdfrc
@@ -43,5 +43,6 @@ bind n any findNext
 # Zoom to full page on startup, change to "normal" zoom mode by pressing 0.
 initialZoom page
 
-# Use Elinks to open URLs.
-urlCommand "elinks -remote '%s'"
+# Use Elinks to open URLs. No quotes around %s, xpdf must handle the quoting
+# or it causes security vulnerabilities with manipulated URLs.
+urlCommand "elinks -remote %s"