<commit_before><?php

/*
Plugin Name: Allow Forward Slashes in Short URLs
Plugin URI: http://williambargent.co.uk
Description: Allow Forward Slashes in Short URLs
Version: 1.0
Author: <a href="http://williambargent.co.uk><NAME></a>
*/



if( !defined( 'YOURLS_ABSPATH' ) ) die();

yourls_add_filter( 'get_shorturl_charset', 'slash_in_charset' );
function slash_in_charset( $in ) {
        return $in.'/';
}


//This plugin will not work with URL forwarding plugins active<commit_msg>Fix href<commit_after><?php

/*
Plugin Name: Allow Forward Slashes in Short URLs
Plugin URI: http://williambargent.co.uk
Description: Allow Forward Slashes in Short URLs
Version: 1.0
Author: <a href="http://williambargent.co.uk"><NAME></a>
*/



if( !defined( 'YOURLS_ABSPATH' ) ) die();

yourls_add_filter( 'get_shorturl_charset', 'slash_in_charset' );
function slash_in_charset( $in ) {
        return $in.'/';
}


//This plugin will not work with URL forwarding plugins active
{'fraction_non_alphanumeric': 0.13617463617463618, 'fraction_numerical': 0.004158004158004158, 'mean_word_length': 4.6647058823529415, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '5763941', 'n_tokens_mistral': 348, 'n_tokens_neox': 321, 'n_words': 92}