Long URLs being shortened to oblivion? (Move along, nothing to see here, folks)

Discussion in 'Site Feedback' started by Pete, Jun 7, 2012.

  1. Pete

    Pete Moderate Nuisance
    Moderator Veteran

    Joined:
    Feb 7, 2002
    Messages:
    4,997
    Likes Received:
    413
    This post shows what happens if you just stick a long URL in our [ url ] tags: both the displayed text and the actual URL are abridged by a '...' which mucks up being able to actually follow the link. You can't click on the link, select the link text, or right-click-copy to get the full, usable URL. If you're the poster or a mod and can edit the post, then you're in business.

    Actually, I don't know if eastmen wrapped the URLs in our tags or if he just pasted them as text. But I'm guessing the problem is in VBB's/our shortening, not tagging, code. Testing a long URL:

    1. No tag: http://www.pcgamer.com/2012/06/06/j...0-kits-available-soon-video-interview-inside/
    2. Simple [ url ] wrap: http://www.pcgamer.com/2012/06/06/j...0-kits-available-soon-video-interview-inside/
    3. Using "Insert Link" button: http://www.pcgamer.com/2012/06/06/john-carmack-is-making-a-virtual-reality-headset-500-kits-available-soon-video-interview-inside/

    Yup, the forum adds [ url ] tags around links, so 'no tag' links become the same as 'simple tagged' ones. The full, "insert link" treatment--[ url = " link " ] link [ /url ]--also gets truncated.

    Expanding on the "no tag" test and what the forum considers a link:

    1a. Leading http://www.: http://www.pcgamer.com/2012/06/06/j...0-kits-available-soon-video-interview-inside/
    1b. Leading www.: www.pcgamer.com/2012/06/06/john-car...0-kits-available-soon-video-interview-inside/
    1c. No prefix: pcgamer.com/2012/06/06/john-carmack-is-making-a-virtual-reality-headset-500-kits-available-soon-video-interview-inside/

    So, some corner cases need rounding. Bonus: the forum linkifies http : // www . (and drops the trailing . and adds a trailing / in the href it creates, for whatever reason), but needs a suffix to linkify www. (e.g., www.zq).



    tl;dr: Help us, Rys, you're our only hope. :)
     
    #1 Pete, Jun 7, 2012
    Last edited by a moderator: Jun 7, 2012
  2. Richard

    Richard Mord's imaginary friend
    Veteran

    Joined:
    Jan 22, 2004
    Messages:
    3,508
    Likes Received:
    40
    Location:
    PT, EU
    Hmm... a little sanity check: I can follow all five links in that post and also eastmen's three links, regardless of ellipses. Isn't that suposed to happen?
     
  3. Pete

    Pete Moderate Nuisance
    Moderator Veteran

    Joined:
    Feb 7, 2002
    Messages:
    4,997
    Likes Received:
    413
    Fffffuuuu.....

    Well, that was a waste. All the links work for me now, too. Dunno why that PC Gamer link in eastmen's post got truncated for me the first time I tried it.

    Chalk one up for overreacting. I should have at least tried a different browser first.
     
  4. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,201
    Likes Received:
    987
    Location:
    still camping with a mauler
    The same thing happened to me pete. I use Chrome. But now it works fine.

    Given that nobody else has reported the issue, I think it is still possible that it never existed at all and we are both crazy. :shock:
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...