index: add --nonet --novalid options to all xsltproc invocations to avoid 30S timeouts when accessing external dtds (ie: for svg files)
This commit is contained in:
+2
-2
@@ -123,7 +123,7 @@ echo '<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'
|
||||
|
||||
if test -f $metafile ; then
|
||||
xsltproc --novalid - $metafile <<EOF
|
||||
xsltproc --nonet --novalid - $metafile <<EOF
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
@@ -185,7 +185,7 @@ EOF
|
||||
fi
|
||||
|
||||
echo '</head><body>'
|
||||
xsltproc --novalid - $contentfile <<EOF
|
||||
xsltproc --nonet --novalid - $contentfile <<EOF
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
|
||||
Reference in New Issue
Block a user