Commit 968d6439 authored by Daniel Veillard's avatar Daniel Veillard

applied patch from Gary Coady to really make sure xmllint --nonet would

* xmllint.c: applied patch from Gary Coady to really make sure
  xmllint --nonet would not reach the network, should fix #337483.
Daniel
parent 8492ba1c
Tue Apr 25 18:17:37 CEST 2006 Daniel Veillard <daniel@veillard.com>
* xmllint.c: applied patch from Gary Coady to really make sure
xmllint --nonet would not reach the network, should fix #337483.
Tue Apr 25 14:52:15 CEST 2006 Daniel Veillard <daniel@veillard.com>
* configure.in: applied patch from Joseph Sacco changing slightly
......
......@@ -3164,6 +3164,7 @@ main(int argc, char **argv) {
} else if ((!strcmp(argv[i], "-nonet")) ||
(!strcmp(argv[i], "--nonet"))) {
options |= XML_PARSE_NONET;
xmlSetExternalEntityLoader(xmlNoNetExternalEntityLoader);
} else if ((!strcmp(argv[i], "-nocompact")) ||
(!strcmp(argv[i], "--nocompact"))) {
options &= ~XML_PARSE_COMPACT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment