Results 1 to 8 of 8

Thread: Another bug in the link parsing code

  1. #1
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb

    Another bug in the link parsing code

    Right this might take a bit of explaining.

    If you manually build the URL and enter a domain name as the linked text, the parsing code ditches the URL that you specified and uses the domain instead. The two links below are constructed differently. The first was just the Hexus URL and the auto-parsed. The second was built anually with hexus(dot)net as the linked text. The code blocks are what I posted

    Code:
    http://www.hexus.net
    HEXUS.net - Definitive Technology News and Reviews

    Code:
    [url = http://www.hexus.net]hexus . net[/url]
    HEXUS.net - Definitive Technology News and Reviews

    No this might not be a problem on Hexus, but if you are manually trying to build links to problematic pages, you still fall fowl of the parsing issue already reported.

    Also, if you link to a page with a valid <title></title> tag, but don't want that massive title in your post, but decide to use just randomdomain.com in the linked text, that becomes the link. Remember some web servers are only set up to accept the www. at the start, so again, you fall fowl of the parsing bug.

    Does that all make sense?

    Here is an example:

    Code:
    http://www.vb.org/app/
    Victory Baptist Church - Anaheim, CA - Victory Baptist Church

    Code:
    [url = "http://www.vb.org/app/"]vb . org[/url]


    Notice the lack of second link there. It's borked the code now.

    (you can blame DR for the choice of example )

    EDIT: GAH!!!!! it even parses and breaks links you put in [code] blocks. God damn this is a moronic plugin!
    Last edited by Funkstar; 25-02-2008 at 11:40 PM.

  2. #2
    DR
    DR is offline
    on ye old ship HEXUS DR's Avatar
    Join Date
    Jul 2003
    Location
    HEXUS HQ, Elstree
    Posts
    13,411
    Thanks
    1,058
    Thanked
    831 times in 372 posts

    Re: Another bug in the link parsing code

    Cheers

  3. #3
    Don't feed the trolls... tiggerai's Avatar
    Join Date
    Aug 2003
    Location
    Milk & Beans
    Posts
    9,286
    Thanks
    271
    Thanked
    480 times in 313 posts
    • tiggerai's system
      • Motherboard:
      • Gigabyte MA770T-UD3P
      • CPU:
      • AMD PhenomII 955BE
      • Memory:
      • 4Gb Corsair XMS DDR3
      • Storage:
      • Lots
      • Graphics card(s):
      • Sapphire X1950XT
      • PSU:
      • Hiper Type-R 550w
      • Case:
      • Antec lovely black thing
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 2x 20" widescreen
      • Internet:
      • Pipexpants

    Re: Another bug in the link parsing code

    I spotted this one tonight...

    trying to post a link to the google groups....



    Even when I HAND CODE the URL into the space between the markup, it ignores it.

    This is what I'm trying to post (without the < > before anyone tries to tarnish my professional capabilities again... )<http://groups.google.com/group/hexussocial>

  4. #4
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb

    Re: Another bug in the link parsing code

    Thats an interesting one because it does have a <title></title> block.

    I wonder if it is the '|' or the line breaks that are killng the script this time?

  5. #5
    Don't feed the trolls... tiggerai's Avatar
    Join Date
    Aug 2003
    Location
    Milk & Beans
    Posts
    9,286
    Thanks
    271
    Thanked
    480 times in 313 posts
    • tiggerai's system
      • Motherboard:
      • Gigabyte MA770T-UD3P
      • CPU:
      • AMD PhenomII 955BE
      • Memory:
      • 4Gb Corsair XMS DDR3
      • Storage:
      • Lots
      • Graphics card(s):
      • Sapphire X1950XT
      • PSU:
      • Hiper Type-R 550w
      • Case:
      • Antec lovely black thing
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 2x 20" widescreen
      • Internet:
      • Pipexpants

    Re: Another bug in the link parsing code

    Something in the "prettyfying" of the link texts has screwed something up royally somewhere.

  6. #6
    The King of Vague Steve B's Avatar
    Join Date
    Oct 2005
    Location
    Glasgow
    Posts
    5,051
    Thanks
    116
    Thanked
    67 times in 63 posts

    Re: Another bug in the link parsing code


  7. #7
    Don't feed the trolls... tiggerai's Avatar
    Join Date
    Aug 2003
    Location
    Milk & Beans
    Posts
    9,286
    Thanks
    271
    Thanked
    480 times in 313 posts
    • tiggerai's system
      • Motherboard:
      • Gigabyte MA770T-UD3P
      • CPU:
      • AMD PhenomII 955BE
      • Memory:
      • 4Gb Corsair XMS DDR3
      • Storage:
      • Lots
      • Graphics card(s):
      • Sapphire X1950XT
      • PSU:
      • Hiper Type-R 550w
      • Case:
      • Antec lovely black thing
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 2x 20" widescreen
      • Internet:
      • Pipexpants

    Re: Another bug in the link parsing code

    The point being you shouldn't have to faff about with that...

    I'm not gonna bother commenting again. I've said my bit.

  8. #8
    DR
    DR is offline
    on ye old ship HEXUS DR's Avatar
    Join Date
    Jul 2003
    Location
    HEXUS HQ, Elstree
    Posts
    13,411
    Thanks
    1,058
    Thanked
    831 times in 372 posts

    Re: Another bug in the link parsing code

    Yep - in an ideal world we would not have his bug at all and it would all be hunky dory - we are talking to the developer and hopefully should have a fix soon(!)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to avoid/get rid of code duplication?
    By Cuffz in forum Software
    Replies: 3
    Last Post: 29-12-2007, 04:04 AM
  2. The Link.
    By blockers in forum General Discussion
    Replies: 2
    Last Post: 11-06-2004, 06:08 PM
  3. Source Code Leak, Question.
    By Dave_07 in forum Software
    Replies: 3
    Last Post: 16-02-2004, 01:32 PM
  4. Page number link in threads.
    By Trash Man in forum HEXUS Suggestions
    Replies: 0
    Last Post: 10-10-2003, 04:36 PM
  5. Avatar = link
    By Dr. X in forum HEXUS Suggestions
    Replies: 0
    Last Post: 23-08-2003, 06:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •