PaulSec / Social-Markdown

"Dillinger.io clone" allowing live concurrent editing.
MIT License
10 stars 5 forks source link

[Idea] Custom URL #6

Open Phyks opened 10 years ago

Phyks commented 10 years ago

Hi,

Sorry for spawning multiple issues with my ideas… I think it's simpler to handle issues when they are all separated, but I can group them if you want (and all my ideas are not worth being implemented I think :).

So, another feature which could be nice would be the ability to customize the URL, to have a specific ident rather than a randomly generated ident. For example, it could be useful to have a URL such as http://MY_SM_INSTANCE/title_of_my_choice. This is simpler to share, and to remember for users.

For now, if I try to enter such a custom URL, it redirects me to a random new pad.

PaulSec commented 10 years ago

Hey there,

I prefered the ID of the URL was completely random to avoid guessing any document identifier eg. http://MY_SM_INSTANCE/toto.

And yes, it redirects to a new pad because I didn't allow the fact that you can generate your own id.

Phyks commented 10 years ago

Yes, but the two hebaviours are not incompatible. In etherpad for example, creating a new pad creates a random identifier, but going to http://MY_SM_INSTANCE/toto forces the creation of a pad with identifier toto.