latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: potsky

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Plugin to easily browse secure files

By:  potsky in: Unofficial Extensions/Hacks

voices: 3
replies: 10

3 years, 11 months ago  Hamid

Problem with quotes in filename downloads

By:  potsky in: Community Forum

voices: 3
replies: 8

3 years, 11 months ago  potsky

Invoice for Pro purchase

By:  potsky in: Community Forum

voices: 2
replies: 1

4 years ago  Elizabeth (Support Rep)

Viewing 3 topics - 1 through 3 (of 3 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Plugin to easily browse secure files

By:  potsky in: Unofficial Extensions/Hacks

voices: 3
replies: 10

3 years, 11 months ago  Hamid

Problem with quotes in filename downloads

By:  potsky in: Community Forum

voices: 3
replies: 8

3 years, 11 months ago  potsky

Invoice for Pro purchase

By:  potsky in: Community Forum

voices: 2
replies: 1

4 years ago  Elizabeth (Support Rep)

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Sunday Jan 20th, 2013 at 5:00 am #38399
potsky
Username: potsky

Thank you, I changed this line in all installation (with the last version of course).
I will tell you if I notice a problem but for the moment, it works perfectly on :
– safari 6 on mac
– firefox (latest) on mac
– chrome on mac which change quotes by dashes

Posted: Thursday Jan 17th, 2013 at 5:35 pm #37953
potsky
Username: potsky

Ok, I found the solution. Again a new RFC :-)
http://tools.ietf.org/html/rfc6266#appendix-D

In includes/classes/files-in.inc.php line 361 (for version 121213), replace :

header('Content-Disposition: '.(($inline) ? "inline" : "attachment").'; filename="'.$basename.'"');

with

header('Content-Disposition: '.(($inline) ? "inline" : "attachment").'; filename*=UTF-8\'\''.rawurlencode($basename) );

but not for all user agents (http://greenbytes.de/tech/tc2231/)

It seems there is a trick with a fake file name at the end of the php and with a rewrite rule :
http://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http

Posted: Thursday Jan 17th, 2013 at 1:12 pm #37902
potsky
Username: potsky

Hello everybody !

I just would like to announce a major upgrade of the browser plugin which can do more now from the admin Dashboard.

Do not hesitate to send me your feedback !

Posted: Thursday Jan 17th, 2013 at 10:27 am #37881
potsky
Username: potsky

Thank you for your answer !

I do not use double quotes in filename, but my clients… certainly ! I really agree with you on this point.

In fact the file is well downloaded, so I presume the file_exists do not crash.
The downloaded file name is just cut at the first double quote.

Moreover, it seems there is a filename computing given that .txt still persist at the end of the filename.

It is not really important…

Posted: Thursday Jan 17th, 2013 at 3:30 am #37864
potsky
Username: potsky

Thank you!

Posted: Sunday Dec 30th, 2012 at 1:59 pm #35816
potsky
Username: potsky

With pleasure ! And it will be a “first time” for me, I never managed code on Github…

Posted: Sunday Dec 30th, 2012 at 1:32 pm #35812
potsky
Username: potsky

Here is the direct link to github :
https://github.com/potsky/WordPressS2MemberFileBrowser

Posted: Sunday Dec 30th, 2012 at 1:26 pm #35811
potsky
Username: potsky

GitHub is of course mandatory !

The link is at the bottom of the plugin official page :
https://www.potsky.com/code/wordpress-plugins/s2member-secure-file-browser/

Version 0.2.1 has just been published !

Posted: Saturday Dec 29th, 2012 at 2:32 pm #35728
potsky
Username: potsky

Thank you !
I already have several positive returns with good ideas for new features.

New features coming soon…

Viewing 9 replies - 1 through 9 (of 9 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.