Links with a tilde character (~)
We have many links on some of our pages as I'm sure a lot of
people do, and a lot of our links seem to contain the tilde
character, ~. Whenever I save a page that contains these links, it
seems Cascade converts ~ to it's ascii equivalent
~
. The link checker follows and recognizes
that a html link containing ~
is invalid or a
broken link, so I can fix the link on that screen. I spend a lot of
time re-typing ~
back to ~ every time I have
to save a new version of this page. The next time I save, the issue
repeats so essentially I have to fix all the links every time I
save the page. This wouldn't be so frustrating if it werent for the
link checker doing something else: sometimes when I fix these links
it converts the external link to an internal link, so instead of
saving a link like "http://domain.com/~username" I
now have this link: "/http://domain.com/~username". Now
my link is broken due to the extra / at the beginning of http
because the link checker decided to change it. The only way around
all of this is to completely disable the link checker (which is not
an option for our end-users) and make all of my link edits in HTML
Source and never in the Link Checker.
This is the most annoying thing in the world. We are using 6.7.6, please tell me it is either a high priority bug/issue already or has been fixed in 6.8.x.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Joel on 14 Jun, 2011 07:17 PM
Hi,
What version are you currently on? And is this tilde within the page's name? Please let me know.
Thanks!
2 Posted by vruppert on 14 Jun, 2011 07:18 PM
6.7.6, and no this is happening in the wysiwyg.
3 Posted by mherzberger on 14 Jun, 2011 10:22 PM
I had this ticket awhile ago here is the info
http://help.hannonhill.com/discussions/requests/496-link-checker-bu...
Here is the bug ticket
http://issues.hannonhill.com/browse/CSI-74
4 Posted by Joel on 15 Jun, 2011 12:57 PM
Hi,
As stated above, this appears to be a known issue within Cascade Server. Please monitor CSI-74 for implementation progress.
Thanks!
Joel closed this discussion on 15 Jun, 2011 12:57 PM.
vruppert re-opened this discussion on 15 Jun, 2011 06:45 PM
5 Posted by vruppert on 15 Jun, 2011 06:45 PM
The second part of my problem is still an issue which I believe is separate but could be linked to the tilde problem. It happens seemingly at random but once it occurs it seems to keep occurring for that particular link. If I update an external link via the Link Checker (say the link was broken or was invalid like in the tilde case) and then save, I will look at the page preview and notice that the Link Checker converted my external link back to an internal one, even though it still looks like an obvious external link. I am not sure if this can be reproduced as usually it occurs for me with the URLs that contain tilde characters, but here is my process:
1) Edit a page
2) Edit a link that is mistakenly pointing to an internal location that shouldn't, such as "/http://www.domain.com". Fix this so it is now an External link and says "http://www.domain.com"
3) Save the page. Link checker comes up and sees that this link is broken or invalid (here is where you may have to intentionally point the link to somewhere that doesn't exist so that the Link checker triggers on this link)
4) Modify the link via the Link Checker. (I guess just change it to another web site that doesn't exist)
5) View the page, the link is now incorrectly back to an internal link, "/http://www.domain.com"
Again, this is easy for me to test because any link with a tilde in the URL will trigger the link checker to go off on it. Even if I fix the link in the link checker, I cannot keep it from reverting back to internal when it should be external.
6 Posted by jolamar on 08 Mar, 2012 07:25 PM
Joel,
I noticed this issue is still unresolved and has not been updated since 2010. Is there a way to get the link checker to stop doing this? It could create a bottleneck for some of our users.
Thanks!
7 Posted by c-siems on 29 Mar, 2012 09:47 PM
This has not been fixed as of 6.10.9. I think it is a TinyMCE feature. I can't even write a tilde in TinyMCE (non HTML view) without it converting it to %7e regardless of if it is in a URL or not.
8 Posted by Ryan Griffith on 18 Jun, 2012 08:22 PM
Hi jolamar,
Apologies for the late response. I wanted to follow up to see if you are still experiencing this behavior.
I tested the Link Checker in Cascade 7 and it appears that links with a tilde (~) are no longer considered invalid, unless the URL is indeed invalid. Tested with the following URL: http://www.cs.tut.fi/~jkorpela/tilde.html. The tile does continue to be encoded, but this shouldn't be an issue as it should resolve to the same character.
Thanks.
9 Posted by jolamar on 17 Sep, 2012 02:43 PM
Hi Ryan,
Thanks for your comments. I'm using Cascade 7.0.3 and the tilde (~) is still being converted to %7e when the page is submitted. We have thousands of tilde URLs at Indiana University and we have not found an elegant way to work around this yet. As you mentioned it will resolve as the same character, but it can be confusing when people are expecting a tilde. Do you have any suggestions?
Josh
10 Posted by Ryan Griffith on 05 Oct, 2012 08:41 PM
Hi Josh,
Apologies for the delayed response. Off-hand, I'm not sure if there really is much you can do about the encoded tilde in the URL. I believe the URL entered is being encoded by the application to avoid any issues with storing it in the database. I think this is a pretty standard practice.
This might be a long shot, but perhaps it could be possible to use mod_rewrite or mod_alias to rewrite the URL. Don't quote me on that one, but that's about all I can think of.
Tim closed this discussion on 04 Dec, 2012 02:59 PM.