I noticed this curious gem in the test_env web page, which doesn't have
any obvious use case, and I cannot find any mentions of
"test_env?redirect=..." anywhere in the Fossil code base.
Index: src/style.c
==================================================================
--- src/style.c
+++ src/style.c
@@ -1665,14 +1665,10 @@
@ <hr />
@ <pre>
@ %h(blob_str(&g.httpHeader))
@ </pre>
}
- if( g.perm.Setup ){
- const char *zRedir = P("redirect");
- if( zRedir ) cgi_redirect(zRedir);
- }
style_footer();
if( g.perm.Admin && P("err") ) fossil_fatal("%s", P("err"));
}
/*
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users