Hi there,
Whe a custom field value contains a slash-character, the filter causes a 404-error when selecting this value.
Kind regards,
Peter
Custom Fields
Joomla! version (x.y.z) | 4.3.2. |
Extension Version (x.y.z) | 1.9.1 |
Hi there,
Whe a custom field value contains a slash-character, the filter causes a 404-error when selecting this value.
Kind regards,
Peter
Custom Fields
Joomla! version (x.y.z) | 4.3.2. |
Extension Version (x.y.z) | 1.9.1 |
Hi
Yes the slash is a resrved character in the url.
May i ask in what kind of custom field are you using that?
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
The fact that a slash is a reserved character should not be a reason for the website to result in an error. I guess it should be possible to url-encode the string so that it has no effect on the url when using a reserved character like a slash.
The custom field is a text-field.
Kind regards,
Peter
As you can see all the special characters (slash included) are url encoded.
Desipte that, most browsers still treat it as a slash (i.e. uri reserved char).
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
Maybe you can use the same functionality as Joomla uses in the creation of an alias. Special characters are removed or replaced by a "-" character.
Kind regards,
Peter
Unless the alias is saved somewhere (as Joomla does in it's components), it can be very error prone to replace url characters on the fly.
This can create way more problems than those it tries to fix.
Kind regards,
Sakis Terzis
Founder and Lead Developer
OK, so slashes can better not be used in custom field values in at least custom fields of type 'text'.
We willen replace slashes on our website with a non-special character.
Thanks,
Peter
Hi
We willen replace slashes on our website with a non-special character.
Yes i think this is the best option atm.
Kind regards,
Sakis Terzis
Founder and Lead Developer