NAME

Slovo::Plugin::CGI - before_dispatch hook under Apache/CGI

DESCRIPTION

Slovo::Plugin::CGI extends Mojolicious::Plugin. It provides a "before_dispatch" hook to handle Apache double encoding of the current url and to strip the $ENV{SCRIPT_NAME} from produced by Slovo urls. This plugin is enabled by default and will detect if the app is run under CGI. If app is run as a daemon this plugin will do nothing.

HOOKS

before_dispatch

Handles Apache double encoding of the UTf-8 url and strips the $ENV{SCRIPT_NAME} from produced by Slovo urls.

AUTHOR

Красимир Беров
CPAN ID: BEROV
berov на cpan точка org
http://i-can.eu

COPYRIGHT

This program is free software licensed under the Artistic License 2.0.

The full text of the license can be found in the LICENSE file included with this module.