Cannot reproduce Username starting with numbers then "." redirects to the wrong member

DragonByte Tech

Well-known member
Affected version
2.1.5a
Consider the following username: 123.HpEnvy4520 (a spammer @ our site) with user ID 24078. If you try to visit this member's profile @ our site: https://www.dragonbyte-tech.com/members/24078/ it will redirect to user ID 123 instead.

This only affects the front-end, as the AdminCP does not attempt to redirect to the canonical URL for the page.

A secondary related issue: The member pop-up also flat out does not work with this member. The Network tab shows it's loading the profile data for user ID 123 but then fails to show any pop-up.

My guess is that a dot in a member's name should probably be converted to a dash for the SEO'd URL.

I'll keep this user alive @ our site for now until a fix can be provided.
 
Top Bottom