Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix IndexImportMediawiki_p servlet's refresh header add url parameter to make sure no parameter are included in refresh url which could cause unwanted restart of import job

regera2dcf6403953
diff --git a/htroot/IndexImportMediawiki_p.html b/htroot/IndexImportMediawiki_p.html
index 3bf333b76..36d796df2 100644
--- a/htroot/IndexImportMediawiki_p.html
+++ b/htroot/IndexImportMediawiki_p.html
@@ -2,8 +2,10 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy '#[clientname]#': MediaWiki Dump Import</title>
- #%env/templates/metas.template%#
- #(import)#::<meta http-equiv="REFRESH" content="10" />#(/import)#
+ #%env/templates/metas.template%#
+ #(import)#::<meta http-equiv="REFRESH" content="10;url=IndexImportMediawiki_p.html" />
+ <!-- the url= removes http get parameters on refresh, preventing restart of import -->
+ #(/import)#
</head>
<body id="IndexImportMediawiki">
#%env/templates/header.template%#