2022-03-29 07:40:54 +02:00
|
|
|
--- a/xsltproc/xsltproc.c
|
|
|
|
+++ b/xsltproc/xsltproc.c
|
2007-08-24 01:39:12 +02:00
|
|
|
@@ -544,7 +544,7 @@
|
|
|
|
|
|
|
|
sec = xsltNewSecurityPrefs();
|
|
|
|
xsltSetDefaultSecurityPrefs(sec);
|
|
|
|
- defaultEntityLoader = xmlGetExternalEntityLoader();
|
|
|
|
+ defaultEntityLoader = getenv("RPM_PACKAGE_NAME") ? xmlNoNetExternalEntityLoader : xmlGetExternalEntityLoader();
|
|
|
|
xmlSetExternalEntityLoader(xsltprocExternalEntityLoader);
|
|
|
|
|
|
|
|
for (i = 1; i < argc; i++) {
|