Blobfolio / righteous-mimes

A comprehensive MIME and file extension tool for PHP. Finally!
Do What The F*ck You Want To Public License
2 stars 0 forks source link

The Plugin is converting Microsoft Project files into Word Docs for some reason? and the file is broken. #7

Closed jadams-rva closed 1 year ago

jadams-rva commented 1 year ago

VALIDATION: Naive Name: Schedule Template_MS Project Version-Architecture.mpp Naive Extension: mpp Naive Type: application/msproject Magic Type: application/vnd.ms-office Best Type: application/msword

FINAL: Name: Schedule Template_MS Project Version-Architecture.doc Extension: doc Type: application/msword Code: 75

SYSTEM: Kernel: Linux c118312.sgvps.net 3.12.18-clouder0 #3 SMP PREEMPT Wed May 25 12:13:20 EEST 2022 x86_64 PHP: 7.4.33 Modules: Core; PDO; Phar; Reflection; SPL; SimpleXML; Zend OPcache; apache2handler; bcmath; bz2; calendar; ctype; curl; date; dba; dom; enchant; exif; fileinfo; filter; ftp; gd; gettext; gmp; hash; iconv; imap; intl; json; libxml; mbstring; memcached; mysqli; mysqlnd; openssl; pcre; pdo_mysql; pdo_pgsql; pdo_sqlite; pgsql; posix; pspell; session; shmop; soap; sockets; sodium; sqlite3; standard; sysvmsg; sysvsem; tidy; tokenizer; xml; xmlreader; xmlrpc; xmlwriter; xsl; zip; zlib WordPress: 6.2.2 Plugins: acf [6.1.6]; blob-mimes [1.3.14]; classic-editor [1.6.3]; custom-post-type-ui [1.13.6]; happy-scss-compiler [1.3.10]; relevanssi [2.23.0]; sg-cachepress [7.3.2]; sg-security [1.4.5]; user-role-editor [4.63.3]; wp-crontrol [1.15.2]; wpo365-login [23.0]; wpo365-login-premium [23.0] Theme: toolbox [1.0.0]

joshstoik1 commented 1 year ago

Thanks for the report @jadams-rva!

I just pushed a new release of Lord of the Files (1.3.16) with a workaround for MS Office Project files. Once your site sees the change, would you please update the plugin, then re-upload the failing file(s) to see if they come through okay now?

The MIME type will probably still be misidentified because mpp is used by multiple programs for completely different things, but office variants should now be recognized, preventing any extension-swapping.

I'll leave the ticket open in the meantime, just in case.

Thanks again!

jadams-rva commented 1 year ago

Thank you so much for solving this issue. Everything seems fine now.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Josh @.> Sent: Thursday, July 6, 2023 2:45:49 PM To: Blobfolio/righteous-mimes @.> Cc: Jonathan Adams @.>; Mention @.> Subject: Re: [Blobfolio/righteous-mimes] The Plugin is converting Microsoft Project files into Word Docs for some reason? and the file is broken. (Issue #7)

[CAUTION EXTERNAL EMAIL] Make Sure that it is legitimate before Replying or Clicking on any links

Thanks for the report @jadams-rvahttps://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fjadams%2drva&umid=1b7dab02-34cd-4ff8-931f-ad88851bccc6&auth=de032a1b30ea51706375fc1bf4447819f9dce6df-2357e11a90cbcd6931fa201343ba2b5c505e4747!

I just pushed a new release of Lord of the Files (1.3.16) with a workaround for MS Office Project files. Once your site sees the change, would you please update the plugin, then re-upload the failing file(s) to see if they come through okay now?

The MIME type will probably still be misidentified because mpp is used by multiple programs for completely different things, but office variants should now be recognized, preventing any extension-swapping.

I'll leave the ticket open in the meantime, just in case.

Thanks again!

— Reply to this email directly, view it on GitHubhttps://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fBlobfolio%2frighteous%2dmimes%2fissues%2f7%23issuecomment%2d1624155844&umid=1b7dab02-34cd-4ff8-931f-ad88851bccc6&auth=de032a1b30ea51706375fc1bf4447819f9dce6df-b4cf8380a003932b371b7121a79500095427d36a, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A54YK6LETCKPBCJ2KZBT2FLXO4BV3ANCNFSM6AAAAAA2AXML6I. You are receiving this because you were mentioned.Message ID: @.***>

R.V. Anderson Associates Limited has been engaged in the provision of professional engineering, operations, and management services since 1948. This message is intended only for the use of the individual(s) to whom it is addressed. If you are not the intended recipient(s), disclosure, copying, distribution and use are prohibited; please notify us immediately and delete this email from your systems. Please see http://www.rvanderson.com for Copyright and Terms of Use.

joshstoik1 commented 1 year ago

Thanks for confirming, @jadams-rva!

If you stumble across any other random file weirdness down the road, just let me know.