Redirection URL is not good in Handler::CGI::_uri function
We change the $https option to manage per virtualhost options, we upgrade the buildURL method in Handler::Vhost but not in Handler::CGI.
The code to change is:
sub _uri {
return
'http'
. ( $https ? 's' : '' ) . '://'
. $ENV{SERVER_NAME}
. $ENV{REQUEST_URI};
}