rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: anthonyiu on December 29, 2008, 04:13:31 PM

Title: Bugs with encoding apostrophe in URL
Post by: anthonyiu on December 29, 2008, 04:13:31 PM
Hi,

I am using HFS 2.2e(154)
When I am trying to apply some template
I found that some characters like the space is encoded into %20
However, the encoding function does not apply on the apostrophe, i.e. into %27 (in the pic. below)

(http://i19.photobucket.com/albums/b177/anthonyiu/encode.png)

Encoding of apostrophes is vvvvv important to me because it clashes with Javascript when I use the template
Please do me this favour and fix this problem , thanks
Title: Re: Bugs with encoding apostrophe in URL
Post by: rejetto on December 30, 2008, 09:19:12 PM
use double quotes
var c="things"
instead of
var c='things'
Title: Re: Bugs with encoding apostrophe in URL
Post by: anthonyiu on December 31, 2008, 12:56:22 PM
use double quotes
var c="things"
instead of
var c='things'

Thanks for your suggestion :)
However, the Javascript is only one of the examples that I need to use %27 rather than a normal apostrophe..
so...is that possible to encode this string in the coming version, just like encoding the space?

Cheers ;D
Title: Re: Bugs with encoding apostrophe in URL
Post by: rejetto on January 19, 2009, 01:17:41 PM
sorry for being late.
i may put an option to encode extra chars.
for sure it won't be by default, because encoded chars are less readable, and thus undesired.
can you please report other non-javascript cases where you need this?