<commit_before><?
defined('C5_EXECUTE') or die("Access Denied.");
if (Loader::helper('validation/token')->validate('get_url_slug', $_REQUEST['token'])) {
	Loader::library('3rdparty/urlify');
	print URLify::filter($_REQUEST['name']);
}<commit_msg>event to override urlify method<commit_after><?
defined('C5_EXECUTE') or die("Access Denied.");
if (Loader::helper('validation/token')->validate('get_url_slug', $_REQUEST['token'])) {
	Loader::library('3rdparty/urlify');
	$name = URLify::filter($_REQUEST['name']);

	$ret = Events::fire('on_page_urlify', $_REQUEST['name']);
	if ($ret) {
  		$name = $ret;
	}

	echo $name;
}
{'fraction_non_alphanumeric': 0.22580645161290322, 'fraction_numerical': 0.0064516129032258064, 'mean_word_length': 8.553846153846154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5434844', 'n_tokens_mistral': 209, 'n_tokens_neox': 209, 'n_words': 35}