0e66e14da3
Update to version 1.1.35. OBS-URL: https://build.opensuse.org/request/show/965151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=93
12 lines
421 B
Diff
12 lines
421 B
Diff
--- a/xsltproc/xsltproc.c
|
|
+++ b/xsltproc/xsltproc.c
|
|
@@ -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++) {
|