Hastymail2

Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed.

Hastymail 2

avatar
Problems with drop down folder selector containing chars such as åäö

Hi,

Running version RC7 and I have some problem that only seems to affect the drop down folder selector. I can enter the folder if I use the left side folder list instead. Name is as follows:

Näthandel.Subfoldername

If I try to enter from the drop down list I get the following error:

Could not find the selected mailbox: Näthandel.Subfoldername

So it seems the scripts handles the drop down and the left side folder list in a different way when it comes to encoding the folder name. What I can see if that is I use the drop down it uses the url:

?page=mailbox&mailbox=N%E4thandel.Subfoldername

But the left side menu produces:

?page=mailbox&mailbox=Näthandel.Subfoldername

If I hade more time on my hand I would debug it more for you as I'm guessing there is just a url(deocde/encode) error somewhere in there.

// juKay

Reply /Quote
avatar
Re: folder drop down character problem

JuKay,

  Thanks for the report. I will create a folder with non-ascii characters and see if I can reproduce what you are seeing.

Jason

Reply /Quote
avatar
Re: Problems with drop down folder selector containing chars such as ..

I created a test folder:

INBOX.test.Näthandel.sub

and was able to access any the folder "sub" as well as the folder "Näthandel" using both the folder tree or the folder dropdown. Both produced the same url as well so I am not sure why you are seeing different results. Are you using the utf7_folders option in the hastymail.conf file? I am not so that might be related.

Thanks for the feedback,
Jason

 

Reply /Quote
avatar
follow up
utf7_folders is set to true, if I switch that to false the dropdown do work, but the folder name is shown as N&AOQ-thandel in both folder listings so it gives me the raw name instead.
Reply /Quote
avatar
Re: Problems with drop down folder selector containing chars such as ..

I have added the meta tag as you suggested here:

Problems sending e-mails containing characters as åäö

I wonder if that has any effect on this issue?

Jason

Reply /Quote
avatar
follow up
It fixed this problem as well. Thank you!
Reply /Quote
avatar
Re: follow up

Excellent!

take care,
Jason

Reply /Quote
Get Hastymail at SourceForge.net. Fast, secure and Free Open Source software downloads