mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +03:00
xsltproc: Prefer XML_PARSE_NONET over xmlNoNetEntityLoader
This commit is contained in:
@ -611,7 +611,7 @@ main(int argc, char **argv)
|
|||||||
profile++;
|
profile++;
|
||||||
} else if ((!strcmp(argv[i], "-nonet")) ||
|
} else if ((!strcmp(argv[i], "-nonet")) ||
|
||||||
(!strcmp(argv[i], "--nonet"))) {
|
(!strcmp(argv[i], "--nonet"))) {
|
||||||
defaultEntityLoader = xmlNoNetExternalEntityLoader;
|
options |= XML_PARSE_NONET;
|
||||||
} else if ((!strcmp(argv[i], "-nowrite")) ||
|
} else if ((!strcmp(argv[i], "-nowrite")) ||
|
||||||
(!strcmp(argv[i], "--nowrite"))) {
|
(!strcmp(argv[i], "--nowrite"))) {
|
||||||
xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_FILE,
|
xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_FILE,
|
||||||
|
Reference in New Issue
Block a user