Home
Q&A
Spaces in urls don't work right

Spaces in urls don't work right

3
votes

When trying to make an embedded link, if the url has spaces in it, it will not work right -- even if one uses the &20 symbol in place of the space characters.

[deals with][1].

I tried the above in this thread.

[1]: http://www.spanishdict.com/translate/deal with

5876 views
updated Jul 14, 2011
edited by webdunce
posted by webdunce

8 Answers

2
votes

The "quick fix" is to go to the TinyURL site and convert the URL with spaces to one that does not have spaces.

TinyURL's links do not expire.

alt text

updated Jul 14, 2011
posted by 0074b507
Yes. Thanks for adding to this solution to this thread. It works for image URLs, too. - webdunce, Jul 14, 2011
Just updating the thread. - 0074b507, Jul 14, 2011
tinyurl.com works great, I've had success with it several times here fixing pictures. - amykay, Jul 14, 2011
4
votes

It works, but with a little trick. Please, look at this link: Deal with.

All you need is to replace every space with the character code & # 32 ;

grin

updated Jul 14, 2011
edited by Carlos-F
posted by Carlos-F
Hmmm... No entiendo. ¿Cuál caracters? "& 3 2 ; # ;"? - chaparrito, Jan 21, 2010
Chaparrito, replace in the URL the space after "...deal with" for "...deal & # 32 ;with".. - Carlos-F, Jan 21, 2010
Bingo! OK so anywhere there is a space between words, replace it with the following five characters betwenn the > and < *without spaces* >& # 32 ;< Okay! Thanks! - chaparrito, Feb 10, 2010
Great response!! - Izanoni1, Jul 14, 2011
3
votes

I see. I thought you were all crazy because I put the link in my post and it worked just fine from the grey preview box below where I type my answer. But when you submit the answer, it strips out the "% 20" for some reason. (It even erases it if you put the two together!)

I will forward this to our programmer and see what he thinks. This is odd and very important since we will be implementing the phrase book soon which will have multiple worded entries.

updated Aug 23, 2017
edited by Paralee
posted by Paralee
Yep. I know how you feel. I thought webdunce just didn't realize how simple it was... ;-) - chaparrito, Jan 21, 2010
Heh, heh. - webdunce, Jan 24, 2010
3
votes

Okay, gang. Unfortunately, we will just have to live with it the way it is for now. There is no quick fix to the problem, so you might have to wait until we hire our genius programming interns this summer. I apologize for the inconvenience but with me knowing nothing about programming and Chris doing boss type stuff, this is something that will have to wait a bit.

Remind me in the summer if it hasn't been fixed and I'll make sure to bring it up again.

updated Jul 14, 2011
posted by Paralee
¡Grathias! - chaparrito, Jan 21, 2010
Thank you very much. - webdunce, Jan 24, 2010
Me gusta esto - Fidalgo, Jan 25, 2010
It is still an issue, Paralee. - webdunce, Jul 14, 2011
0
votes

Deal with


Chaparrito, please try this:

[Deal with][1]

[1]: http://www.spanishdict.com/translate/deal with

updated Jan 21, 2010
edited by chaparrito
posted by chaparrito
Yep. That did it. It will work, but it will also make editing a post tricky. As you notice, Carlos, mine now works, but your's does not. It did before I edited the post, and even though I did not touch it, the link broke. - chaparrito, Jan 21, 2010
0
votes

[deal with](http://www.spanishdict.com/translate/deal with)

Try that one.

updated Jan 21, 2010
posted by chaparrito
nope. - chaparrito, Jan 21, 2010
I tried typing for space. But after posting the answer, this was stripped out of the url. Hmmm... - chaparrito, Jan 21, 2010
OK. That's weird. It stripped it out of my comment also. " " - chaparrito, Jan 21, 2010
I'm trying to type "% 2 0" without spaces... - chaparrito, Jan 21, 2010
How the site deals with the % 2 0 may be *part* of the problem. I definitely see the challenge for whoever maintains the site, but I also believe it can be fixed (being a dabbler of programming myself). - webdunce, Jan 21, 2010
0
votes

Odd, but understandable.

updated Jan 21, 2010
edited by lorenzo9
posted by lorenzo9
And also fixable, I believe. - webdunce, Jan 21, 2010
0
votes

Yes, interesting, though easy to solve. Just copy and paste the link. I tried to delete the space, but then the link is not recognized.

updated Jan 21, 2010
posted by 00494d19