ImpressCMS/impresscms

View on GitHub
htdocs/session_confirm.php

Summary

Maintainability
A
0 mins
Test Coverage

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

        <title>'.$icmsConfig['sitename'].'</title>
Severity: Minor
Found in htdocs/session_confirm.php by phan

Reference to undeclared constant \_IFNOTRELOAD
Open

          <p>'.sprintf(_IFNOTRELOAD, $url4disp).'</p>
Severity: Minor
Found in htdocs/session_confirm.php by phan

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

        <title>'.$icmsConfig['sitename'].'</title>
Severity: Minor
Found in htdocs/session_confirm.php by phan

Reference to undeclared constant \_TAKINGBACK
Open

    $message = _TAKINGBACK ;
Severity: Minor
Found in htdocs/session_confirm.php by phan

Reference to undeclared constant \_SUBMIT
Open

            <input type="submit" name="timeout_repost" value="'._SUBMIT.'" />
Severity: Minor
Found in htdocs/session_confirm.php by phan

Reference to undeclared constant \_CHARSET
Open

        <meta http-equiv="Content-Type" content="text/html; charset='._CHARSET.'" />
Severity: Minor
Found in htdocs/session_confirm.php by phan

Reference to undeclared constant \_CHARSET
Open

        <meta http-equiv="Content-Type" content="text/html; charset='._CHARSET.'" />
Severity: Minor
Found in htdocs/session_confirm.php by phan

Invalid offset "sitename" of array type array{startpage:,template_set:mixed}
Open

        <title>'.$icmsConfig['sitename'].'</title>
Severity: Minor
Found in htdocs/session_confirm.php by phan

Invalid offset "sitename" of array type array{startpage:,template_set:mixed}
Open

        <title>'.$icmsConfig['sitename'].'</title>
Severity: Minor
Found in htdocs/session_confirm.php by phan

Reference to undeclared constant \_RETRYPOST
Open

          <h4>'._RETRYPOST.'</h4>
Severity: Minor
Found in htdocs/session_confirm.php by phan

Inline control structures are not allowed
Open

if (!isset($_SESSION['AUTOLOGIN_REQUEST_URI'])) exit;
Severity: Minor
Found in htdocs/session_confirm.php by phpcodesniffer

Inline control structures are not allowed
Open

if (preg_match('/javascript:/si', $url)) exit; // black list of url
Severity: Minor
Found in htdocs/session_confirm.php by phpcodesniffer

No space found after comma in function call
Open

        $hidden_str .= "\t".'      <input type="hidden" name="'.htmlspecialchars($k,ENT_QUOTES).'" value="'.htmlspecialchars($v,ENT_QUOTES).'" />'."\n" ;
Severity: Minor
Found in htdocs/session_confirm.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in htdocs/session_confirm.php by phpcodesniffer

No space found after comma in function call
Open

        $hidden_str .= "\t".'      <input type="hidden" name="'.htmlspecialchars($k,ENT_QUOTES).'" value="'.htmlspecialchars($v,ENT_QUOTES).'" />'."\n" ;
Severity: Minor
Found in htdocs/session_confirm.php by phpcodesniffer

Unexpected spaces found.
Open

          <p>'.sprintf(_IFNOTRELOAD, $url4disp).'</p>
Severity: Minor
Found in htdocs/session_confirm.php by editorconfig

Unexpected spaces found.
Open

          <h4>'._RETRYPOST.'</h4>
Severity: Minor
Found in htdocs/session_confirm.php by editorconfig

Unexpected spaces found.
Open

          <h4>'.$message.'</h4>
Severity: Minor
Found in htdocs/session_confirm.php by editorconfig

Unexpected spaces found.
Open

          '.$hidden_str.'
Severity: Minor
Found in htdocs/session_confirm.php by editorconfig

Unexpected spaces found.
Open

          <form action="'.$url4disp.'" method="POST">
Severity: Minor
Found in htdocs/session_confirm.php by editorconfig

Unexpected spaces found.
Open

          </form>
Severity: Minor
Found in htdocs/session_confirm.php by editorconfig

There are no issues that match your filters.

Category
Status