rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Garphy on December 23, 2006, 08:25:58 AM

Title: one URL encoding question...
Post by: Garphy on December 23, 2006, 08:25:58 AM
HFS is verrrrrrrry good~
so I've made a Chinese version.

now I have a question about the URL:

the following function check doesn't work:
"Encode non-ASCII characters"

disable it,but the URL still encoded like:
http://172.16.38.150/%BF%CE%BC%FE/
(IE isn't compatible well with it...)

so I wanna to set the URL like:
http://172.16.38.150/课件/

what's more:
"Encode spaces" shows its effect in the program Address bar,but ineffective in the brownser...
Title: Re: one URL encoding question...
Post by: Garphy on December 23, 2006, 05:05:15 PM
up...

any reply???
Title: Re: one URL encoding question...
Post by: rejetto on December 24, 2006, 02:00:27 AM
your message is "in queue" :)
had no time to study your problem yet
Title: Re: one URL encoding question...
Post by: Garphy on December 24, 2006, 05:25:29 AM
well~
just wait for your good news~
Title: Re: one URL encoding question...
Post by: rejetto on December 25, 2006, 02:42:49 AM
about the "non-ASCII", there was actually a bug, fixed in next build (076, to be published).

about the spaces, that's how it is intended to work. Inside generated pages all is encoded, to ensure it will work.
Title: Re: one URL encoding question...
Post by: Garphy on December 25, 2006, 03:55:06 PM
about the "non-ASCII", there was actually a bug, fixed in next build (076, to be published).

about the spaces, that's how it is intended to work. Inside generated pages all is encoded, to ensure it will work.


woooo~
so good a news~

but test failed...
just like the description above,the check about "non-ASCII" only show the function in the program Address bar,but not in the IE....

addtion:chinese characters by using UTF-8 still abnormal
(characters in the filename normal, characters in the source of page abnormal,still occurs that: % take the place of > in the page source,this lead to the display error)


[attachment deleted by admin]
Title: Re: one URL encoding question...
Post by: rejetto on December 28, 2006, 01:50:47 AM
just like the description above,the check about "non-ASCII" only show the function in the program Address bar,but not in the IE....

that's how it is intended to work

Quote
addtion:chinese characters by using UTF-8 still abnormal
(characters in the filename normal, characters in the source of page abnormal,still occurs that: % take the place of > in the page source,this lead to the display error)

that's sad. to fix this problem i need someone in chat to test builds.
Title: Re: one URL encoding question...
Post by: Garphy on January 01, 2007, 07:09:45 AM
i'd like to help you test
my email: garphy22#gmail.com
Title: Re: one URL encoding question...
Post by: Garphy on January 03, 2007, 04:37:55 PM
Quote
of course...
i just want to make URL in its origin form(not %E5%9B%9B...)

let's discuss here...
have you understand what I said ?
(still unused to talk in English :-[ :-[ :-[)
Title: Re: one URL encoding question...
Post by: rejetto on January 07, 2007, 04:11:02 AM
ok, let's try applying the non-ascii option also to links inside pages.
next build.
Title: Re: one URL encoding question...
Post by: Garphy on January 07, 2007, 09:18:30 AM
nice~
Title: Re: one URL encoding question...
Post by: Garphy on January 08, 2007, 05:41:10 AM
this bug fixed yet~
Good job~ ;)
Title: Re: one URL encoding question...
Post by: xwh on January 09, 2007, 03:49:30 PM
[file]
<tr><td>%new% <a href="%item-url%"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%

[folder]
<tr><td>%new% <a href="%item-url%"><img src="/~img_folder" /> <b>%item-name%</b></a>%comment%<td align=center><i>folder</i><td align=right>%item-modified%<td align=right>%item-dl-count%

[link]
<tr><td>%new% <a href="%item-url%"><img src="/~img_link" /> <b>%item-name%</b></a>%comment%<td colspan=3 align=center><i>link</i>

html template
"%item-url%"---"%item-name%"   That's ok!

[file]
<tr><td>%new% <a href="%item-name%"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%

[folder]
<tr><td>%new% <a href="%item-name%"><img src="/~img_folder" /> <b>%item-name%</b></a>%comment%<td align=center><i>folder</i><td align=right>%item-modified%<td align=right>%item-dl-count%

[link]
<tr><td>%new% <a href="%item-name%"><img src="/~img_link" /> <b>%item-name%</b></a>%comment%<td colspan=3 align=center><i>link</i>
Title: Re: one URL encoding question...
Post by: Garphy on January 10, 2007, 06:01:47 AM
now,no problem...

it's needed to encode the space in the filename...