A comment about this. The whole filter thing seems to not like special characters, such as ó . It converts it into %F3 . ??? Even though everything else in the software recognizes these characters just fine.
Well something is definately not right. Here is the scenario: - I have a category with links in it, some have 'Kiadó', some have 'Eladó' as their value for the field 'kiadoelado' - If I display the category in a normal fashion, all links are showing up fine. - If I add to the URL &linkfilteraction=add&filter=kiadoelado&filtervalue=Eladó it brings me back to the same page and says that there are 0 (zero) links in this category - AND the funkiest part, is that if I remove that extra filter from the url, so it simply should display the category (index.php?action=displaycat&catid=4), it still says that there are no links in the category. Even if I refresh the page. - IF I clear my cookies, and then refresh, it goes back to showing all the links in the category just fine.
If I understand this: &linkfilteraction=add&filter=kiadoelado&filtervalue=Eladó
it should refresh the page and show only links that have the word 'Eladó' as the value for their 'kiadoelado' field.
Accents simply do not appear to be legal characters in urls -- I cannot find anything in google to suggest they're supported. You will have to strip them. What I read indicates that mysql is normally accent-insensitive such that filtervalue=Elado will match Eladó.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Accents in urls (filtering)
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
A comment about this. The whole filter thing seems to not like special characters, such as ó . It converts it into %F3 . ??? Even though everything else in the software recognizes these characters just fine.
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Such as index.php?action=displaycat&catid={CATID}&linkfilteraction=add&filter=kiadoelado&filtervalue=Eladó
wouldn't work.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It must be illegal in a url and so gets translated to something, but since urldecode it being applied I don't see why it wouldn't work.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Well something is definately not right. Here is the scenario:
- I have a category with links in it, some have 'Kiadó', some have 'Eladó' as their value for the field 'kiadoelado'
- If I display the category in a normal fashion, all links are showing up fine.
- If I add to the URL &linkfilteraction=add&filter=kiadoelado&filtervalue=Eladó
it brings me back to the same page and says that there are 0 (zero) links in this category
- AND the funkiest part, is that if I remove that extra filter from the url, so it simply should display the category (index.php?action=displaycat&catid=4), it still says that there are no links in the category. Even if I refresh the page.
- IF I clear my cookies, and then refresh, it goes back to showing all the links in the category just fine.
If I understand this:
&linkfilteraction=add&filter=kiadoelado&filtervalue=Eladó
it should refresh the page and show only links that have the word 'Eladó' as the value for their 'kiadoelado' field.
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Accents simply do not appear to be legal characters in urls -- I cannot find anything in google to suggest they're supported. You will have to strip them. What I read indicates that mysql is normally accent-insensitive such that filtervalue=Elado will match Eladó.