Thank you for this great resource for validating files!
I have a client who is using a rare brf filetype for Braille encoded text files (https://fileinfo.com/extension/brf). I am able to validate and upload the mime type with your plugin, however the extension is renamed to txt repeatedly. I have found that if I add the brf definition to the TYPES const in lib/blobfolio/wp/bm/mime/aliases.php this resolves the issue:
'brf'=>array('text/plain')
I was just hoping this file type might be added to core.
For more information on the file type:
Validation
Naive Name:
NBA Bulletin–Summer 2020.BRF
Naive Extension:
brf
Naive Type:
text/x-algol68
Magic Type:
text/plain
Best Type:
text/plain
Final
Name:
NBA Bulletin–Summer 2020.BRF
Extension:
brf
Type:
text/x-algol68
Code:
109
I have “Only scan files that have an extension listed below” selected and file extension “pdf” typed in the File Extensions field.
However, I am being emailed with tons of file changes that don’t have the .pdf extension still.
]]>For the last year or so the extensions of the files are not showing. See attached screenshot (Imgur-link). Any ideas to why this have happened?
Thank you!
]]>file_get_contents
with wp_remote_fopen
this will help w/ servers that don’t allow for allow_url_fopen
open to be set.preg_match_all('/'.$base_uploads_url.'\/.*?\.[a-z]{3}+/i', $attachment, $attachments);
the problem with this is that it excludes document types like docx, pptx, xlsx and jpeg which will invalidate the verify_exists()
check you have running on line 492 because pptx will then become ppt. So if just replace at a minimum the {3}
with a {3,4}
things should be golden again.get_available_content_types()
by applying it to a filter/hook. That way we can add other MIME types that you don’t currently have in the list.https://www.ads-software.com/plugins/rackspace-cloud-files-cdn/
]]>Does anyone recognize this file and extension type? #.UyC3xPlkTQM
I get a similar file and extension type for each page of the website except for the home page. I have done some research and testing, but I have not come to any conclusions yet.
Here is the link for the website: https://www.equity-title.com/
I only care about this because I am about to update WordPress and most of the plugins and I don’t want to lose the website’s position on Google.
Thanks.
]]>.jpg, .pdf,
jpg, pdf,
*.jpg*, *.pdf*, (this worked only for the first extension type)
(*.jpg*), (*.pdf*),
(.jpg), (.pdf),
(*.jpg*, *.pdf*,)
Am I doing something wrong or is there a bug in the code?
https://www.ads-software.com/plugins/wp-file-upload/
]]>