Implemented Bug with & in xml
- Fabrice PELLETIER
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 0
6 months 2 weeks ago #3106
by Fabrice PELLETIER
Bug with & in xml was created by Fabrice PELLETIER
Hi Ruud,
In the name of my file, I have a character &
And this character make à bug when I try to show the Joomla XML Update Feed
In the name of my file, I have a character &
And this character make à bug when I try to show the Joomla XML Update Feed
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1700
- Thank you received: 110
6 months 2 weeks ago #3107
by Ruud van Lent
Replied by Ruud van Lent on topic Bug with & in xml
Hi Fabrice,
thanks for reporting this. I will be leaving a a break tomorrow and will return on november 3rd.
Although this seems like a quick fix (doing a encoding of the filename), I need time to replicate and test as the filename is also used to download the correct file (so should also be 'decoded' again.
So this has to wait a bit.
fastest 'fix' is to not use the & in the filename and replace it with e.g. a - or _
This is also recommended, see below for the logic of this recommendation:
It is generally considered bad practice to have a filename with an ampersand (&) in it. Here's why:
thanks for reporting this. I will be leaving a a break tomorrow and will return on november 3rd.
Although this seems like a quick fix (doing a encoding of the filename), I need time to replicate and test as the filename is also used to download the correct file (so should also be 'decoded' again.
So this has to wait a bit.
fastest 'fix' is to not use the & in the filename and replace it with e.g. a - or _
This is also recommended, see below for the logic of this recommendation:
It is generally considered bad practice to have a filename with an ampersand (&) in it. Here's why:
- Compatibility Issues: Different operating systems and software may interpret special characters like & differently, leading to potential problems when accessing or opening the file.
- URL Encoding: When used in URLs, ampersands often need to be URL-encoded (%26), which can make the filename appear strange or difficult to read.
- Search and Organization: Some search tools and file management systems may not handle filenames with special characters correctly, making it harder to find and organize files.
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1700
- Thank you received: 110
6 months 1 week ago - 6 months 3 days ago #3109
by Ruud van Lent
Replied by Ruud van Lent on topic Bug with & in xml
Hi Fabrice,
holidays are over, and did some work on this bug.
I have an updated version of the component listed above for you to download and test.
Thanks for your patience!
let me know if this fixes your issue.
regards,
Ruud.
holidays are over, and did some work on this bug.
I have an updated version of the component listed above for you to download and test.
Thanks for your patience!
let me know if this fixes your issue.
regards,
Ruud.
Last edit: 6 months 3 days ago by Ruud van Lent. Reason: expired download link
Please Log in to join the conversation.