No Redirect change
Brought to you by:
efficacy
I am experimenting with Friki at my home computer,
where apache is the sole interface to the internet,
i.e. all traffic to and from tomcat is forced through
apache. Because the way I do this the sendRedirect in
tomcat is not useable. I made a minor modification in
Friki to avoid this problem.
To achieve this I changed line 382 of FrikiServlet.java
to be
show(res, page, policy.get("viewMode"), author);
instead of
res.sendRedirect(policy.get("viewMode") + "?" +
NamePreserver.escape(page));
would a contribution to Friki be considered where this
modified behaviour can be switched on or off?