projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
858fac7
)
webkitpdf.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 05:29:05 +0000
(13:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 05:29:05 +0000
(13:29 +0800)
webkitpdf.php
patch
|
blob
|
history
diff --git
a/webkitpdf.php
b/webkitpdf.php
index
2140ba7
..
9422a42
100644
(file)
--- a/
webkitpdf.php
+++ b/
webkitpdf.php
@@
-45,7
+45,10
@@
class WebkitPdf
//?? allow injections?
// not yet..
- $cmd = "$xvfb --auto-servernum $
+ $cmd = "$xvfb --auto-servernum $webkitpdf " .
+ " --url " . escapeshellarg($_REQUEST['url']) . ' '
+ " --pdf " . $tmpfile . ' '
+