curvance-web / app-community

0 stars 0 forks source link

I found That tricky thing on one of the URLs #66

Open anyela-sweden opened 2 months ago

anyela-sweden commented 2 months ago

Using spaces in your URLs can break automatic URL detection in many applications, such as emails and chats, where a space is interpreted as the end of the URL. This can negatively affect the 'sharability' of your URLs.

Screenshot 405
joaom00 commented 2 months ago

can break automatic URL detection in many applications

Which applications can't detect it?

The "%20" was placed in the URL precisely to replace the space because spaces are not URL friendly

anyela-sweden commented 2 months ago

I built up an example just for you :-D

take this link and put it into your browser : https://x.com/intent/post?in_reply_to=1831086123340189992&text=fdsfdsfds&url=https%3A%2F%2Fstaging-app.curvance.com%2Fmarket%2FLong%20BTC%2Fdeposit%3FmarketAddress%3D0xCb9d31Fa71E582cafE5Db3fe1D4Dc2286D6e4Db1%0A&via=anyelasweden&hashtags=

You see I kept the %20 on the URL as it is on the curvance App....

You will see that the url will be transformed automatically by :

Screenshot 421

and then on your Tweet the URL will be cutted.

Avoiding %20 and space on direct URL is good habits in general to avoid such collaterals problems...

/Peace