Email addresses inside URL

后端 未结 4 1279
广开言路
广开言路 2021-01-17 08:06

Is it safe to use e-mail addresses inside URLs? I mean lets say a web-application has a registered user \"Bob\" and Bob has been registered by using his email => Bob@

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-17 08:34

    I think that this is not a good idea. Firstly, email contains special chars that needs to be URL encoded so they don't get mixed up with system characters (for example, for FTP servers you can pass username like this ftp://user:pass@test.com).

    Also, I would not like it from user perspective as in this case my e-mail would stay in browsers history.

提交回复
热议问题