这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@bricesanchez
Copy link
Member

@bricesanchez bricesanchez commented Sep 19, 2018

  • Accept only file types we allow
  • Add ability to change the default configuration.
  • Run and fix offenses with Rubocop

* Accept only file types we allow
* Add ability to change de default configuration.
* Run and fix offenses with Rubocop
@bricesanchez bricesanchez requested a review from parndt September 19, 2018 02:36
@bricesanchez bricesanchez added this to the 5.0 milestone Sep 19, 2018
@parndt
Copy link
Member

parndt commented Sep 19, 2018

I routinely upload all kinds of file types (including images) as resources, yet this defaults Refinery to only accepting PDFs. I'm not sure I'm happy with it being that restrictive..

@bricesanchez
Copy link
Member Author

which files types would you like as default?, i don't want to allow files that can be executed without permission.

@parndt
Copy link
Member

parndt commented Sep 19, 2018

that's fair, however I think we should support all of the standard image formats that images does, text files, etc as well

@bricesanchez bricesanchez requested review from parndt and removed request for parndt September 19, 2018 13:22
@bricesanchez bricesanchez merged commit 0d92490 into master Sep 20, 2018
@bricesanchez bricesanchez deleted the feature/resource-whitelist-mime-types branch September 20, 2018 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants