View | Details | Raw Unified | Return to bug 14121
Collapse All | Expand All

(-)a/C4/Auth_with_cas.pm (-3 / +3 lines)
Lines 211-220 sub _url_with_get_params { Link Here
211
    foreach ( $query->url_param() ) {
211
    foreach ( $query->url_param() ) {
212
        # url_param() always returns parameters that were deleted by delete()
212
        # url_param() always returns parameters that were deleted by delete()
213
        # This additional check ensure that parameter was not deleted.
213
        # This additional check ensure that parameter was not deleted.
214
        if ($query->param($_)) {
214
        my $uriPiece = $query->param($_);
215
        if ($uriPiece) {
215
            $uri_params_part .= '&' if $uri_params_part;
216
            $uri_params_part .= '&' if $uri_params_part;
216
            $uri_params_part .= $_ . '=';
217
            $uri_params_part .= $_ . '=';
217
            $uri_params_part .= URI::Escape::uri_escape( $query->param($_) );
218
            $uri_params_part .= URI::Escape::uri_escape( $uriPiece );
218
        }
219
        }
219
    }
220
    }
220
    $uri_base_part .= '?' if $uri_params_part;
221
    $uri_base_part .= '?' if $uri_params_part;
221
- 

Return to bug 14121