InfoPath Forms Services Disallowed File Extensions is Hardcoded

The InfoPath Forms Service in SharePoint 2010 leverages a Web Application’s BlockedFileExtensions¬†property, but it also has it’s own list of extensions which unfortunately cannot be overridden.

During the validation of a file type upload, the file first passes through the method which validates that the file type is not on the InfoPath file type block list.  See below for the list of file types that InfoPath disallows.

After passing out of this method, it returns to a method which parses the Web Application’s BlockedFileExtensions property:

If the file type is not in the InfoPath file type block list, but is in the BlockedFileExtensions property, this can be fixed by running the following PowerShell code from the SharePoint Management Shell:

 

Leave a Reply