diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-08 12:02:25 -0800 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-12 14:09:24 +0100 |
commit | 13cdb86714eded0d6387e735691ff1c9baea67a9 (patch) | |
tree | 12ffcee2fbc1e25485fec4d2109319b57177afbb | |
parent | 6efe4e6a473198ea858d810287d0e801341b3406 (diff) | |
download | libxslt-13cdb86714eded0d6387e735691ff1c9baea67a9.tar.gz libxslt-13cdb86714eded0d6387e735691ff1c9baea67a9.tar.bz2 libxslt-13cdb86714eded0d6387e735691ff1c9baea67a9.zip |
no network
-rw-r--r-- | xsltproc/xsltproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 35f37e8b..7cea54ce 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -562,7 +562,7 @@ main(int argc, char **argv) sec = xsltNewSecurityPrefs(); xsltSetDefaultSecurityPrefs(sec); - defaultEntityLoader = xmlGetExternalEntityLoader(); + defaultEntityLoader = getenv("RPM_PACKAGE_NAME") ? xmlNoNetExternalEntityLoader : xmlGetExternalEntityLoader(); xmlSetExternalEntityLoader(xsltprocExternalEntityLoader); for (i = 1; i < argc; i++) { |