# Typo in mime type

**URL:** <https://discourse.farcrycore.org/t/typo-in-mime-type/1677>\
**Category:** dev\
**Created:** [May 4, 2020, 12:45pm UTC](https://discourse.farcrycore.org/t/typo-in-mime-type/1677 "2020-05-04T12:45:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrfelna](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/mrfelna/32/1217_2.png) [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Post date:** [May 4, 2020, 12:45pm UTC](https://discourse.farcrycore.org/t/typo-in-mime-type/1677/1 "2020-05-04T12:45:14Z")

</div>

There seems to be a typo for one mime type:

`<cfset stMimes["pyc"] = "applicaiton/x-bytecode.python" />`

> <https://github.com/farcrycore/core/blob/master/packages/farcry/file.cfc#L421>

1. Is it a typo?
2. Is it worth fixing?
3. Is there anything upstream which should also be rectified?

---

<div class="post-metadata">

**Author:** ![justincarter](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/justincarter/32/1213_2.png) [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Post date:** [May 4, 2020, 1:01pm UTC](https://discourse.farcrycore.org/t/typo-in-mime-type/1677/2 "2020-05-04T13:01:01Z")

</div>

Definitely a typo 🙂 It would only be a problem for those uploading for that particular file type, and even then only if the mimetype was set in some way that might affect later file downloads (such as a content type header in S3), which at a guess is probably very few to zero users?

That said, anything that is quick to fix is worth fixing.

> <https://github.com/farcrycore/core/commit/d13087becff34cb5c417884c5085f56485cac186>

---

<div class="post-metadata">

**Author:** ![mrfelna](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/mrfelna/32/1217_2.png) [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Post date:** [May 4, 2020, 1:07pm UTC](https://discourse.farcrycore.org/t/typo-in-mime-type/1677/3 "2020-05-04T13:07:51Z")

</div>

Thank you for the quick reply. I agree that it should affect very few users.

I wasn’t sure if it was a typo because the wrong form is surprisingly widespread. I wonder if it’s from something like the PHP mime list that people have blindly copied 🙂

---

<div class="post-metadata">

**Author:** ![justincarter](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/justincarter/32/1213_2.png) [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Post date:** [May 4, 2020, 1:20pm UTC](https://discourse.farcrycore.org/t/typo-in-mime-type/1677/4 "2020-05-04T13:20:45Z")

</div>

Haha you’re right, that misspelling is in a lot of places in Google search results. It’s highly likely that it’s a bad copy and paste that hasn’t been noticed… I wonder what other easter eggs are in the list? 😁
