A minor annoyance PSF files

Use this forum to ask about non-product related topics (login issues, product registrations, web site questions, etc.) No technical support questions, please.
Forum rules
Do not post any licensing information in this forum.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
This topic is 9 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

A minor annoyance PSF files

Post by jvierra »

Can we get the forum updated to allow direst upload of PSF and other PowerShell Studio project and form files?

We can upload PFF and PS1 files but none of the newer extensions have been permitted.

Thank you.
User avatar
J A Reif
Posts: 241
Last visit: Fri Mar 22, 2024 8:12 am
Answers: 1
Has voted: 1 time
Been upvoted: 1 time

Re: A minor annoyance PSF files

Post by J A Reif »

Hello James,

We have the forum set to accept PSF files, however, it turns out that Adobe uses the .PSF extension for its Photoshop Proof Settings File. The Forum 'mime sniffs' to ensure that files are indeed what their extensions imply they are and if they are not, reports the following error: "The upload was rejected because the uploaded file was identified as a possible attack vector." For security reasons we are loathe to turn off the mime-sniffing function. I know it is annoying, but you can always ZIP your file first before attaching.

These are the scripting extensions we currently allow to be uploaded in the forums: pff, pfs, ps1, psf, pss, vbs. (Obviously, with the mime-sniffing, the PSF files won't upload.) Are there others you feel should be added?

Thank you,

June
June Alane Reif
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: A minor annoyance PSF files

Post by jvierra »

I guess life is like that. Zipping is a pain but we can do it.
User avatar
J A Reif
Posts: 241
Last visit: Fri Mar 22, 2024 8:12 am
Answers: 1
Has voted: 1 time
Been upvoted: 1 time

Re: A minor annoyance PSF files

Post by J A Reif »

Hello again,

We did a few tests and found if you remove the <preview> tags from the PSF, it uploads just fine. Not sure that is any less of a hassle than zipping the file.......
June Alane Reif
SAPIEN Technologies, Inc.
User avatar
J A Reif
Posts: 241
Last visit: Fri Mar 22, 2024 8:12 am
Answers: 1
Has voted: 1 time
Been upvoted: 1 time

Re: A minor annoyance PSF files

Post by J A Reif »

It took a bit, but I tracked down the code for the mime type settings and believe I have removed the item that was misinterpreting the <preview> tag as evil. You should no longer have to zip (or edit) psf files to post them.
June Alane Reif
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: A minor annoyance PSF files

Post by jvierra »

I have a great idea but it may be a little to 21st century for the web servers.

Use a web service to upload directly from PowerShell Studio to the forums or customer service.

Along with that - how about a forum reader as an add-in for PowerShell Studio.

Too much? Might be a good marketing kicker.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: A minor annoyance PSF files

Post by jvierra »

Testing...

It works, Great - thanks. I am sure many will be happy that this is now easier.

I still like the PS direct idea.
Attachments
RSOP.psf
Wow! works great
(13.07 KiB) Downloaded 230 times
User avatar
J A Reif
Posts: 241
Last visit: Fri Mar 22, 2024 8:12 am
Answers: 1
Has voted: 1 time
Been upvoted: 1 time

Re: A minor annoyance PSF files

Post by J A Reif »

Good - I'm glad it works! I will pass your idea on to the powers that be....
June Alane Reif
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: A minor annoyance PSF files

Post by jvierra »

Again - thank you for fixing that. It was becoming very annoying. Uploading the PFS file directly makes all much smoother.
This topic is 9 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.