Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Incorrect parsing of untagged numerical URLs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Incorrect parsing of untagged numerical URLs
Incorrect parsing of untagged numerical URLs
14-08-2007 6:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If I post the untagged text http://192.168.1.1 it comes out as http://192.168.1.1 with the highlighting broken and the link pointing to http://192.0.0.168.
On the other hand:
If I post the tagged text [url]http://192.168.1.1[/url] it comes out as http://192.168.1.1 with highlighting correct and the link correct too.
Since the untagged text http://www.bbc.co.uk is highlighted and linked correctly it seems there's a bug in the parsing of uncoded numerical URLs.
On the other hand:
If I post the tagged text [url]http://192.168.1.1[/url] it comes out as http://192.168.1.1 with highlighting correct and the link correct too.
Since the untagged text http://www.bbc.co.uk is highlighted and linked correctly it seems there's a bug in the parsing of uncoded numerical URLs.
David
5 REPLIES 5
Re: Incorrect parsing of untagged numerical URLs
21-08-2007 12:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Seems the parsing is working if it is ended with a recognised TLD (correct me if I'm wrong)
Re: Incorrect parsing of untagged numerical URLs
21-08-2007 6:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Sorry for the bluntness of my previous post; I was rushing out of the house at the time.
I meant to follow it on with a question to anyone who has seen the source to the forum software since I haven't used it, does automatic URL parsing occur using a conditional statement looking for a recognised TLD suffixed on the end?
I meant to follow it on with a question to anyone who has seen the source to the forum software since I haven't used it, does automatic URL parsing occur using a conditional statement looking for a recognised TLD suffixed on the end?
Re: Incorrect parsing of untagged numerical URLs
21-08-2007 6:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The first two octets may be assumed to be directory + domain, ie "www.plus". I'll download a copy of it and see if I can locate it.
Re: Incorrect parsing of untagged numerical URLs
21-08-2007 8:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yea I think that's the culprit. I have it downloaded now but don't have time to look at the code yet long enough to pinpoint any specific problem with it. Will look closer tomorrow and get back to you.
Re: Incorrect parsing of untagged numerical URLs
23-08-2007 9:28 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've had a look and I don't see it stripping numbers for any reason. However, to get around this happening, simply type the IP address as this: http://192.168.1.1/ . The trailing forwardslash will cause the link to be parsed correctly.
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Incorrect parsing of untagged numerical URLs