I enabled .json files to upload in field.
"Only safe upload extensions" procedure reconized .json file as .js

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

chegor created an issue. See original summary.

chegor’s picture

Issue summary: View changes
brockfanning’s picture

Status: Active » Needs review
StatusFileSize
new901 bytes

We're running into the same thing. Here's a patch that fixes it for us.

hey_germano’s picture

Version: 7.x-1.2 » 7.x-1.3
Status: Needs review » Reviewed & tested by the community

Tested the patch in #3. Works fine against the latest dev branch.

smustgrave made their first commit to this issue’s fork.

  • smustgrave committed abf0b48c on 7.x-1.x
    Issue #2678848: .json file extention recognized as .js
    
smustgrave’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.