<commit_before><?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Created by PhpStorm.
 * User: Josh
 * Date: 11/9/15
 * Time: 10:29 PM
 */
class Login extends CI_Controller {

    public function __construct() {
        parent::__construct();

        $this->load->helper('html');

        $this->load->model('login_model');
    }

    public function index()
    {

        // Get the posted values
        $pawprint = $this->input->post("txt_pawprint");
        $password = $this->input->post("txt_password");

        // Set validations
        $this->form_validation->set_rules("txt_pawprint", "Pawprint", "trim|required|xss_clean|strip_tags");
        $this->form_validation->set_rules("txt_password", "Password", "trim|required|xss_clean|strip_tags");
        
        if ($this->session->userdata('pawprint') != null){<commit_msg>removed xss_clean<commit_after><?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Created by PhpStorm.
 * User: Josh
 * Date: 11/9/15
 * Time: 10:29 PM
 */
class Login extends CI_Controller {

    public function __construct() {
        parent::__construct();

        $this->load->helper('html');

        $this->load->model('login_model');
    }

    public function index()
    {

        // Get the posted values
        $pawprint = $this->input->post("txt_pawprint");
        $password = $this->input->post("txt_password");

        // Set validations
        $this->form_validation->set_rules("txt_pawprint", "Pawprint", "trim|required|strip_tags");
        $this->form_validation->set_rules("txt_password", "Password", "trim|required|strip_tags");
        
        if ($this->session->userdata('pawprint') != null){
{'fraction_non_alphanumeric': 0.16840882694541232, 'fraction_numerical': 0.010452961672473868, 'mean_word_length': 3.1820388349514563, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4917473', 'n_tokens_mistral': 543, 'n_tokens_neox': 519, 'n_words': 100}