Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
XHTML and textile link code on Files tab.
I’m currently working on a site using the 4.0.8 standard install which requires PDF downloads. All the internal links using the Textpattern link code work fine however we needed an external link for one file. I used the XHTML link code for it which gives me:-
http://my-site.com/index.php?s=file_download&id=22
This throws a 404 error and the textile link code is the same.
The Textpattern link code gives me:-
http://my-site.com/index.php?s=file_download&id=22
which works fine. I think there might be a little bug in there for the other 2 types of link.
Last edited by thebombsite (2009-02-19 18:27:22)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: XHTML and textile link code on Files tab.
the same issue reported earlier today
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: XHTML and textile link code on Files tab.
Oh. Sorry Yiannis I just came straight here with it. That other post is in the wrong forum really.
And valid or not it doesn’t work. Is it a case of escaping or not escaping? That entity code appears in the URL whereas I’m thinking it should have been “swapped” to an ampersand.
It should output the same way as the Textpattern type link code.
Last edited by thebombsite (2009-02-17 16:06:40)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: XHTML and textile link code on Files tab.
Thanks for the report, fixed.
Offline
Re: XHTML and textile link code on Files tab.
Thanks Robert.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: XHTML and textile link code on Files tab.
On second thought, installing the update only fixes the Textile type link. The XHTML type remains as was.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: XHTML and textile link code on Files tab.
thebombsite wrote:
On second thought, installing the update only fixes the Textile type link. The XHTML type remains as was.
On purpose. If this doesn’t work in a certain browser, it’s that browser’s bug.
Offline
Re: XHTML and textile link code on Files tab.
OK. But we are talking Firefox here. Whenever I have to use some externally supplied javascript that has un-encoded ampersands in link URLs I replace them with &
which is acceptable according to your link. Can we not change it over? I have the impression &
is more widely recognised. I never heard of &
before this problem occurred.
Isn’t #38 the alt-number-pad code for an ampersand?
Last edited by thebombsite (2009-02-20 22:28:00)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: XHTML and textile link code on Files tab.
It is a numeric character reference.
Offline