wikimedia/mediawiki-core

View on GitHub
includes/specials/SpecialPreferences.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method execute has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function execute( $par ) {
        $this->setHeaders();
        $this->outputHeader();
        $out = $this->getOutput();
        $out->disallowUserJs(); # Prevent hijacked user scripts from sniffing passwords etc.
Severity: Major
Found in includes/specials/SpecialPreferences.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status