Bug: Does not redirect pages with no view
And please describe the problem below:
You should be able to type in soks_url/PageName and have it re-directed to soks_url/view/PageName. This doesn’t work, it redirects to PageName-2.
And if you have any suggestions for the cause or a fix, please put it below:
Index: soks-servlet.rb
===================================================================
RCS file: /var/cvs/soks/soks/lib/soks-servlet.rb,v
retrieving revision 1.31
diff -r1.31 soks-servlet.rb
58c58
< when /\/(.+)/ ; redirect( response, $1, settings.default_view )
---
> when /\/(.+)/ ; response.set_redirect( WEBrick::HTTPStatus::Found, "#{settings.url}/#{settings.default_view}/#{$1}" )
Fixed in v1-0-1
Edit this page or
watch for changes using RSS.