Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
3/11/2002 7:05:52 AM EDT
I was recently posting in the General Discussion forum - not firearms related. I attempted to add a link to my post and no one could make it work. I both cut and pasted the URL and typed it in manually with the same result. The correct board code was used for posting the url.

The url of the page is: https://grc.com/x/ne.dll?bh0bkyd2

When you input the link using the board code you get this:

[url]https://grc.com/x/ne.dll?bh0bkyd2[/url]

When you click on it the link won't work. Here's the problem. Apparently the default setting is to insert http:// at the beginning. And since this is an https:// address it ends up lookikng like this.

https://grc.com/x/ne.dll?bh0bkyd2

If you delet the https:// from the front of the URL it will work.

[url]grc.com/x/ne.dll?bh0bkyd2[/url]

Anyway no big deal, but I just thought I'd make you aware of it.

3/11/2002 9:06:49 AM EDT
[#1]
Kewl, thanks for the heads up...

The code actually rips out the http:// if used for a link and then dynamically adds it when the Tags are processed.

This means it wont work for any other protocols like HTTPS and FTP... dunno if I want to change it or not... [=D]
3/11/2002 9:32:44 AM EDT
[#2]
Well, its probably not worth messing with. But it is good to know if and when you get a customer complaint. (I'm sure no one ever complains) [:)]

3/11/2002 9:33:56 AM EDT
[#3]
Minor nitpick.  Since the tag is named url, and not link, it makes sense that you would put a URL in the tag rather than just the hostname, file name, and optional query in between the tags.  If it's not a URL, I wonder why UBB called the tag URL?z