Jump to content

Invision Power Software Can't Properly Link to Wikipedia and other sites?


Schot

Recommended Posts

Posted

I'm a little confused as to why this isn't a bigger issue. Is there some sort of fix out that I missed? As the bug report states... http://community.invisionpower.com/resources/bugs.html/_/ip-board/apostrophe-in-url-not-handled-properly-r41529

...apostrophes in urls will not render properly. Any characters that come after the apostrophe will not be parsed. A member of mine tried to link to various Wikipedia.org pages on my forum and to my embarrasment the links broke.

I'm a bit baffled as to why professional grade software such as IP.Board and associated products are not able to resolve a simple situation like this. I was just on Admin Zone and this is not a problem. A bug report was made this past March though it seems the issue is not a concern. Bear in mind that this was not an issue mere months ago and years long before that. Even this flagship forum can't link to Wikipedia properly. Clicking on the below links will land you on the wrong pages. Instead of the actual url it will take you to an url that excludes all the text after the (') apostrophe.

http://en.wikipedia.org/wiki/Hart's_Rules
http://en.wikipedia.org/wiki/St_James'_Park
http://en.wikipedia.org/wiki/Bishop's_Stortford
http://en.wikipedia.org/wiki/The_69'ers
http://en.wikipedia.org/wiki/His_'n'_Hers
http://en.wikipedia.org/wiki/Glauber's_salt

Will this be fixed in the major release?

  • Replies 57
  • Created
  • Last Reply
Posted

I'm a bit baffled as to why professional grade software such as IP.Board and associated products are not able to resolve a simple situation like this.


Probably because it makes more sense to focus on more complex situations. Every now and then a minor issue like this slips through the cracks. You already bumped the bug report back up, why do you need to have a feedback topic about this too? Just let IPS respond to your similar post in the bug report and I'm sure they'll get this resolved.

Your topic title is a bit sensationalist too. IP.Board can link to wikipedia, just not a small percentage of specific wikipedia pages that contain apostrophes.

Posted

Apostrophe isn't a valid URL character...

It needs to be encoded..

http://en.wikipedia.org/wiki/Hart%27s_Rules

Which, if you look at the URL in wikipedia, in Chrome at least, it's encoded like the above.

Posted

I'm not completely certain what you mean by sensationalist. The scenario I'm facing here, and passionately concerned about, is exactly as the title implies. If you consider the average user... There is simply no way to expect that %27 will reliably be placed is user posted links.

A bug report is an effective developement tool but I think this is very important in the feedback section. Hopefully it will garner some attention by the community and possibly bring about a fix or at least a workaround. help.gif

http://en.wikipedia.org/wiki/Hart's_Rules

works for me on firefox and chrome, have not tested opera or safari.
IE user by any chance??


Does the link in my post work?
Posted

I wouldn't expect anyone to put %27 in there, however from the Hart page, clicking on Hart's_Rules, the %27 is in the link already on wikipedia's site.. If you copy the address bar, or right click copy link, you get it already encoded..

I'm using Chrome, though, so it may be different in other browsers...

Posted

The title is sensationalist because it is only a subset of Wikipedia articles which have problems. And as other users have pointed out, you can simply replace the invalid URL character for now until the bug report you bumped is resolved.

Posted

The title is sensationalist because it is only a subset of Wikipedia articles which have problems. And as other users have pointed out, you can simply replace the invalid URL character for now until the bug report you bumped is resolved.


Hmmm... All Saint "enter name here"'s pages are an inconsequential subset?

How do I replace url characters as you've mentioned above? I know how to do it myself but how do you get an entire community to do that? Is there some kind of workaround you are meaning? I'm hoping the report will be resolved but I'm concerned that without discussion there won't be much consideration given. Bug report for those who haven't seen: http://community.invisionpower.com/resources/bugs.html/_/ip-board/apostrophe-in-url-not-handled-properly-r41529

I'm also confused as to why this problem does not occur in xenforo or vBulletin. I "think" there is a simple solution to this like some sort of string replacement thing but I'm not savvy enough to know much more beyond that assumption.
Posted

I opened the link you posted which did not work right, I then went to the link you wanted (hart rules) then copied and pasted that using cntrl-c and cntrl-v

in firefox 23 it does show the %27 in url bar BUT pastes it not showing that.

and as you can see it worked fine.

what browser are you using?

Posted

This is more an attribute of the browser changing the encoded content of a URL than it is an IP.Board issue.

an apostrophe isn't a valid character in a URL, your browser shouldn't be unencoding the character when pasting... Then the URL is invalid.

I suggest you find a new favorite browser...

Posted

I'm a devout Firefox user. likeff_man.gif That said. I'm more concerned about making things work for my members. What's worse is that eeeeeeven if I managed to train my members well then there is still a problem with the quote function breaking %27 interpreted links by converting them into typed "'" apostrophes. For example... >In post #4 of this topic you''ll see that Dmacleo has posted a link that has an apostrophe in it and that the link functions as it should. It goes to the "Hart's Rules" page on Wikipedia. However. IF you quote that post by Dmacleo while your quick reply box's rich text editor mode is off and then click "More Reply Options" to preview that quote... You'll see that the link breaks and instead of going to the Hart's Rules page on Wikipedia, it will go to a page called Hart. Which is just one more problem on top of the initial that I'm concerned about.


http://en.wikipedia.org/wiki/Hart's_Rules

works for me on firefox and chrome, have not tested opera or safari.
IE user by any chance??

  • Management
Posted

Apostrophes in URLs are not valid, however, there is clearly an issue here. I will re-open and confirm the bug report.

Posted

if you are on firefox too (what version?) then its very odd why I can post and you can't.

wondering if perhaps you are running a noscript rule that causes this maybe?

thats of course separate of the quoting breaking it, seems like there are really TWO issues here.

Posted

Apostrophes in URLs are not valid, however, there is clearly an issue here. I will re-open and confirm the bug report.

Thank you Lindy! JC_goody.gif

if you are on firefox too (what version?) then its very odd why I can post and you can't.

wondering if perhaps you are running a noscript rule that causes this maybe?

thats of course separate of the quoting breaking it, seems like there are really TWO issues here.

If I were to copy a link from the address bar that has an apostrophe in it then in most cases the apostrophe will paste as %27 from what I can tell. I say most cases because I "think" there were a couple situations where it did not because the link was copy pasted across several mediums. From browser to different site in browser to notepad++ etc... In that particular scenario we're ok. But as we talk more and more about this more scenarios of links breaking are emerging. In that regard you're being very helpful Dmacleo. Thank you. smile3.gif

If I copy the >working link you made in post #4 from your post without quoting and try to make a uniquely named link with it using the rich text editor's "Link" bbcode... There again the ability to link out will break. I think I'm doing this right. Confirmation?

<a data-ipb="nomediaparse" data-cke-saved-href="http://en.wikipedia....ki/Hart's_Rules" href="http://en.wikipedia....ki/Hart's_Rules" s_rules"="">Rules Hart devised is meant to go to http://en.wikipedia.org/wiki/Hart%27s_Rules

Posted

Ugh... I seem to be having a harder time with the editor than I thought. I don't know why the last line in my above post turned into:

<a data-ipb="nomediaparse" data-cke-saved-href="http://en.wikipedia....ki/Hart's_Rules" href="http://en.wikipedia....ki/Hart's_Rules" s_rules"="">Rules Hart devised is meant to go to http://en.wikipedia.org/wiki/Hart%27s_Rules
Posted

I do not have this issue in IPB 3.4.5 in Chrome in RTE and LTE:



I have attached the tesing video. I have UTF8 everywhere possible (connection, database content and tables, language settings in ACP, server settings in ACP).

The test posts from the video are here.



Interesting test Ivan. Can you tell us what your video test concludes?
Posted

The test posts from the video are here.

Both of your links go to..

http://en.wikipedia.org/wiki/Hart 

Not..

http://en.wikipedia.org/wiki/Hart'Rules

The bug is still prevalent.

It's the actual hypertext reference that's broken, not the visible text.

SdI7yMm.png

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...