Bug: user_nicename can get mangled
-
Line 453 of shibboleth.php is intended to fix a user_nicename issue, thus:
`
add_filter( ‘shibboleth_user_nicename’, ‘sanitize_user’ );
`
I’m not sure when, but it looks like sanitize_user() may have changed. It now considers periods legal, which means the bug that line was intended to fix has popped back up.
I’m fixing it for now with an outside filter, but I think the “right” fix is to do the necessary additional sanitizing in the plugin. (A call to sanitize_title will do in a pinch, but probably has extra side effects.)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug: user_nicename can get mangled’ is closed to new replies.