Can't add URL in post

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
db77
Registered User
Posts: 75
Joined: Wed Dec 29, 2004 4:33 am

Can't add URL in post

Post by db77 » Sat Nov 29, 2008 3:01 pm

Hi,
I want to have a link to a google map in my post. However, it does not work. In this support forum post it DOES work.

Here's the link (and this is how I want it to appear in my BB post): Map

When I try in my BB, I just get all the code and no link, like this (I purposely left off the first [ and last ] so you can see the code): url=http://maps.google.com/maps?f=d&saddr=6 ... =UTF8&z=12]Map[/url

My BBCode is enabled and HTML is enabled. What am I doing wrong?

Thank you,

-David

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Re: Can't add URL in post

Post by espicom » Sat Nov 29, 2008 5:38 pm

You need to "URL encode" certain characters, like the ( and ), or phpBB will refuse to display it. This is a "fix" for a vulnerability in Internet Explorer that was introduced several years ago. It definitely isn't going to let you post it as an image, because of the ? in the link, for the same reason.

This link can help: How and what to encode in URLs
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

db77
Registered User
Posts: 75
Joined: Wed Dec 29, 2004 4:33 am

Re: Can't add URL in post

Post by db77 » Sat Nov 29, 2008 6:54 pm

Thanks for this info. But why does the link work in phpBB3 and not phpBB2?

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Re: Can't add URL in post

Post by espicom » Sat Nov 29, 2008 8:30 pm

phpBB3 does a much better job of "cleaning up" links that screw up Internet Exploder, so more leeway is allowed.
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

Locked

Return to “2.0.x Support Forum”