On Jun 17, 2008 7:37 pm, Indefatigable42 said:
The way I've seen it done on other sites is to replace some of the disallowed characters with some other character that is allowed. When Livejournal went to the subdomain system, someone called user_name would end up with the URL user-name.livejournal.com . They replaced the underscore with a dash.
This is an interesting idea!
On Jun 17, 2008 7:37 pm, Indefatigable42 said:
How many different characters are allowed in Paperdemon usernames that would not be allowed in URLs?
We allow almost everything. asterisks, underscores, spaces, periods, parenthesis, pluses. Some people even have § and Æ.
I think perhaps what we should do is have everyone update their username to something url safe and use that same name for the url. So if you have a username that has spaces or special characters in it (anything that isn't a letter, number, or dash) then you have to update your username. Until you do, you'd just have somenumber.paperdemon.com as your url.
How does that sound? It wouldn't be too hard to force everyone to update their usernames. We can do it the same way we started forcing birthday inputs. As soon as you attempted to log in you had to choose a new username and you couldn't complete the login process until you did.
By the way, I forgot to mention that we won't be able to start having these custom urls right away. There are a few other problems that I'll need to sort out. Mostly issues with any html links referencing root as slash (as in <a href="/somepage.php"> since they'll then be broken if they appear on somepage.paperdemon.com. I'll have to sort that out later.