From d4ddff34d4b968bcbb05b1eed44298aa526a21b3 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 20 Jan 2013 10:23:04 +0000 Subject: [PATCH] Point the --webxml stylesheet at the new repository. The old URL at svn.insecure.org was a redirect pointing at the new svn.nmap.org. Unfortunately, it appears that the new URL still doesn't work, because of same-origin issues. http://seclists.org/nmap-dev/2013/q1/56 --- CHANGELOG | 5 +++++ nmap.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index d46db5074..a9b0ecf62 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,10 @@ # Nmap Changelog ($Id$); -*-text-*- +o Changed the --webxml XSL stylesheet to point to the new location of + nmap.xsl in the new respository, + https://svn.nmap.org/nmap/docs/nmap.xsl + This was noticed by Simon John. + o [NSE] Made the vulnerability library able to preserve vulnerability information across multiple ports of the same host. The bug was reported by iphelix. [Djalal Harouni] diff --git a/nmap.cc b/nmap.cc index b80348125..aeb307a2e 100644 --- a/nmap.cc +++ b/nmap.cc @@ -843,7 +843,7 @@ void parse_options(int argc, char **argv) { } else if (optcmp(long_options[option_index].name, "deprecated-xml-osclass") == 0) { o.deprecated_xml_osclass = true; } else if (strcmp(long_options[option_index].name, "webxml") == 0) { - o.setXSLStyleSheet("http://nmap.org/svn/docs/nmap.xsl"); + o.setXSLStyleSheet("https://svn.nmap.org/nmap/docs/nmap.xsl"); } else if (strcmp(long_options[option_index].name, "oN") == 0) { delayed_options.normalfilename = logfilename(optarg, local_time); } else if (strcmp(long_options[option_index].name, "oG") == 0