Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

MIME type not being enforced 22 Dec 2016 00:42 #14860

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
So I have an IMAGE field, and I have restricted type to JPG / JPEF and PNG (by deleting all the others)

However I am alllowd to upload pretty much anything.. i.e PDF with no error

This happen on sandbox with any project.

Can you check enforcement on file / image uploads

Thanks
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

Please Log in or Create an account to join the conversation.

MIME type not being enforced 22 Dec 2016 12:32 #14865

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
It's strange because i work a lot with Images in a lot of context ...
And it works fine for me with all my components.
I have made a new test right now with an image field that not allow '.bmp'

SANDBOX TEST :
An error has occurred.
 0 This file extension ( bmp ) is not accepted, the accepted files are : gif,jpg,jpeg,png

Please Log in or Create an account to join the conversation.

Last edit: by liubov.

MIME type not being enforced 22 Dec 2016 12:34 #14866

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I am gonna check that.

I am currently working on a big feature.
I wanted to release on monday, but it will be released next monday :

ORM for Christmas.
It is a pure brillance my friends...
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Last edit: by admin.

MIME type not being enforced 22 Dec 2016 16:23 #14867

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
IN reply to the testing by lioubov above

I have created (in sandbox) a field of IMAGE and removed all image typed form the list except JPG and PNG

These I have TICKED as allow

I have just been able to upload a PDF file with no errors (and save the record)

Observation 2: when I do cause an error (bye file being too large) the error message is massively invasive as it goes to a new page with a full screen error as opposed to a nice tool tip
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

MIME type not being enforced 23 Dec 2016 10:14 #14870

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
You re right Morgan.

- my removed type files are still in the config windows (unckecked, but still here)
- I have an error message (show above) BUT the item is saved in the DB.

so, something has changed here, and must verified.

a thousand apologies! :unsure:

Please Log in or Create an account to join the conversation.

Last edit: by liubov.

MIME type not being enforced 29 Dec 2016 16:51 #14879

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
I know it's holiday time, but this particulsr bug is a killer, if it could be looked at quite in new year, that would be awesome!
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

Please Log in or Create an account to join the conversation.

MIME type not being enforced 30 Dec 2016 11:36 #14882

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
As promised after the works I have been achieving, this ticket is now closed.
It was my fault....
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.068 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started