Schot Posted August 9, 2013 Posted August 9, 2013 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_Ruleshttp://en.wikipedia.org/wiki/St_James'_Parkhttp://en.wikipedia.org/wiki/Bishop's_Stortfordhttp://en.wikipedia.org/wiki/The_69'ershttp://en.wikipedia.org/wiki/His_'n'_Hershttp://en.wikipedia.org/wiki/Glauber's_saltWill this be fixed in the major release?
Michael Posted August 9, 2013 Posted August 9, 2013 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.
Aiwa Posted August 9, 2013 Posted August 9, 2013 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.
Dmacleo Posted August 9, 2013 Posted August 9, 2013 http://en.wikipedia.org/wiki/Hart%27s_Rules works for me on firefox and chrome, have not tested opera or safari. IE user by any chance??
Schot Posted August 9, 2013 Author Posted August 9, 2013 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. http://en.wikipedia.org/wiki/Hart's_Rulesworks for me on firefox and chrome, have not tested opera or safari.IE user by any chance?? Does the link in my post work?
Aiwa Posted August 10, 2013 Posted August 10, 2013 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...
Graphite Posted August 10, 2013 Posted August 10, 2013 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.
Schot Posted August 10, 2013 Author Posted August 10, 2013 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-r41529I'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.
Dmacleo Posted August 10, 2013 Posted August 10, 2013 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?
Aiwa Posted August 10, 2013 Posted August 10, 2013 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...
Schot Posted August 10, 2013 Author Posted August 10, 2013 I'm a devout Firefox user. 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_Rulesworks for me on firefox and chrome, have not tested opera or safari.IE user by any chance??
Management Lindy Posted August 10, 2013 Management Posted August 10, 2013 Apostrophes in URLs are not valid, however, there is clearly an issue here. I will re-open and confirm the bug report.
Dmacleo Posted August 10, 2013 Posted August 10, 2013 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.
Schot Posted August 10, 2013 Author Posted August 10, 2013 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! 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. 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
Makoto Posted August 10, 2013 Posted August 10, 2013 I posted a bug report on this too a while back :unsure: http://community.invisionpower.com/resources/bugs.html/_/ip-board/single-quotes-in-link-titles-break-the-actual-link-r42514 Glad to see it's being fixed I guess.
Schot Posted August 10, 2013 Author Posted August 10, 2013 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
RPG-support Posted August 12, 2013 Posted August 12, 2013 I do not have this issue in IPB 3.4.5 in Chrome in RTE and LTE:
Makoto Posted August 12, 2013 Posted August 12, 2013 Does the link actually go to http://host/Y'sss ?
RPG-support Posted August 12, 2013 Posted August 12, 2013 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. 20130812_1547_15.zip
Schot Posted August 12, 2013 Author Posted August 12, 2013 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?
Makoto Posted August 13, 2013 Posted August 13, 2013 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.
RPG-support Posted August 13, 2013 Posted August 13, 2013 If you check http://en.wikipedia.org/wiki/Uniform_resource_locator than you will see that ' is not allowed directly (only encoded): If webmaster is putting ' in URL he should make that URLs with ' on his site are working. This is honestly should not be the IPS's headache.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.