rejetto forum
May 24, 2012, 09:52:59 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Testing build #135  (Read 3660 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« on: September 16, 2007, 12:35:17 AM »

download @ www.dovedove.it/hfs/hfs135.exe

what's new
+ (expert mode) Real Folder Menu -> Advanced -> "Upload filter mask"
* "allowed referer" will always accept HFS itself as referer
* the automatic update is downloaded to the same folder of hfs.exe instead of the working folder
- log incoherence for failed uploads 
Logged
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #1 on: September 16, 2007, 02:42:09 AM »

what's new
+ (expert mode) Real Folder Menu -> Advanced -> "Upload filter mask"

Uploading a file that "doesn't" comply to the upload filter mask produces an internal HFS %reason% of "Mismatch upload filter" when the upload fails.  To most people, they have no idea what "mismatch upload filter" means.  Can we have a more meaningful message like "that file extension not allowed" or something like that or better yet give us the option to create our own %reason% message for a failed "Upload filter mask".

The "Upload filter mask" setting seems to save the mask but when you go back to check what upload filter masks you have selected, the field is empty - see attached.

This feature is a good idea.


* 135.png (9.3 KB, 234x147 - viewed 332 times.)
« Last Edit: September 16, 2007, 03:46:07 AM by maverick » Logged

maverick
Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #2 on: September 16, 2007, 04:02:47 AM »

The allowed referer feature works much better now except if the user is set to ignore limits they are still limited by this. I'm not too sure that is a bad thing though because most of the time you have to be in the page generated by hfs so it is automatically allowed anyway.

The only way you are affected by that is when you use a http://user:password@your_site/folder/file

I also think that the upload filter mask is a very good idea.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #3 on: September 16, 2007, 10:02:01 AM »

To most people, they have no idea what "mismatch upload filter" means.  Can we have a more meaningful message like "that file extension not allowed" or something like that or better yet give us the option to create our own %reason% message for a failed "Upload filter mask".

The point is that the mask is not only useful for file extension. You may also forbid special filenames.
It's ok for me to let the user enter a reason if we don't find a good generic message.
Should this reason be entered for every folder you filter?
Logged
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #4 on: September 16, 2007, 02:57:20 PM »

rejetto what do i need to enter in upload filter mask to forbid uploading of hfs.diff.tpl? (this was reason for creating this feature) Roll Eyes
Logged

maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #5 on: September 16, 2007, 03:05:45 PM »

To most people, they have no idea what "mismatch upload filter" means.  Can we have a more meaningful message like "that file extension not allowed" or something like that or better yet give us the option to create our own %reason% message for a failed "Upload filter mask".

The point is that the mask is not only useful for file extension. You may also forbid special filenames.
It's ok for me to let the user enter a reason if we don't find a good generic message.
Should this reason be entered for every folder you filter?

I haven't thought about forbidding special filenames and probably won't use that here.  But I will make use of masking file extensions.  If I'm masking upload file extensions the reason for upload failure would be the same for every upload folder I filter even though the masks for each upload folder may be different.

EDIT
It was working fine yesterday.  Today, the upload filter mask feature is Broken.  It's not working at all.  Don't know why.  All files uploaded that should have failed are successful.  Huh?

« Last Edit: September 16, 2007, 03:49:24 PM by maverick » Logged

maverick
rejetto forum
« Reply #5 on: September 16, 2007, 03:05:45 PM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #6 on: September 17, 2007, 04:20:56 AM »

rejetto what do i need to enter in upload filter mask to forbid uploading of hfs.diff.tpl? (this was reason for creating this feature) Roll Eyes

nothing. if no mask is used, the mask \hfs.* is applied by default.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #7 on: September 17, 2007, 04:21:48 AM »

It was working fine yesterday.  Today, the upload filter mask feature is Broken.  It's not working at all.  Don't know why.  All files uploaded that should have failed are successful.  Huh?

please, tell me how to reproduce the problem
Logged
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #8 on: September 17, 2007, 08:22:43 AM »

please, tell me how to reproduce the problem

Don't know what happened but now it is working again.  I'll report if this happens again.

In a post above you asked what might be a good generic %reason% for file extensions and special filenames instead of "Mismatch upload filter".  Maybe something like:

"that file extension or filename not allowed"
Logged

maverick
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #9 on: September 17, 2007, 08:30:59 AM »

File name or extension forbidden
?
Logged
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #10 on: September 17, 2007, 08:39:25 AM »


Sounds OK to me.
Logged

maverick
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #11 on: September 17, 2007, 11:45:09 AM »

File name or extension forbidden
?
i wanna forbid uploading file hfs.diff.tpl (because somebody uploads this file to my upload folder and this affects on my templae in the folder) Roll Eyes
Logged

Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #12 on: September 20, 2007, 01:31:21 AM »

rejetto what do i need to enter in upload filter mask to forbid uploading of hfs.diff.tpl? (this was reason for creating this feature) Roll Eyes

nothing. if no mask is used, the mask \hfs.* is applied by default.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 04, 2012, 05:20:23 PM