Skip to content

xss_clean no longer in Kohana 3.1 #3

@JustLikeIcarus

Description

@JustLikeIcarus

As of 3.1 of Kohana Security::xss_clean was removed so this causes a bug in the useradmin/user class login method when passing a username in the url.

The specific code is

$view->set('username', Security::xss_clean($_GET['username']));
}

Shadowhand has a Purifier module that can be used to add similar functionality back. https://github.com/shadowhand/purifier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions