Unable to attach Groovy scripts: "contents that are not what they are reported to be"

hendrik's Avatar

hendrik

15 Nov, 2016 09:22 AM

Hey there,

Customers of mine are trying to exchange Groovy scripts via the forum, e.g. at http://help.beatunes.com/discussions/problems/43285-read-info-from-...

Unfortunately, Tender does not allow to attach those scripts with the message: "contents that are not what they are reported to be"

This used to be possible — I myself have attached a good number of Groovy scripts.

Could you please fix this?

Thanks,

-hendrik

  1. Support Staff 1 Posted by Courtenay on 15 Nov, 2016 11:35 PM

    Courtenay's Avatar

    it's because you're using a custom mime type and extension. What mime type are the scripts being reported as?

  2. 2 Posted by hendrik on 16 Nov, 2016 08:32 AM

    hendrik's Avatar

    Hey Courtenay,

    Tender does not report a MIME type when you attach things (see screenshot).
    The extension for Groovy is .groovy. Please add support for it.

    Thanks.

    -hendrik

  3. Support Staff 3 Posted by Courtenay on 16 Nov, 2016 08:55 AM

    Courtenay's Avatar

    Bzz! Correct answer is text/x-java ;) I'll fix it. It's for security reasons - content type spoofing - unfortunately results in blocking some desired actions.

  4. 4 Posted by hendrik on 16 Nov, 2016 09:14 AM

    hendrik's Avatar
  5. Support Staff 5 Posted by Courtenay on 18 Nov, 2016 04:00 AM

    Courtenay's Avatar

    there's a bug in some browsers that upload everything as a weird content type, but I'm working around it and it all should work now. Should.

  6. Support Staff 6 Posted by Courtenay on 18 Nov, 2016 04:19 AM

    Courtenay's Avatar

    testing :)

  7. Courtenay closed this discussion on 18 Nov, 2016 04:19 AM.

  8. hendrik re-opened this discussion on 18 Nov, 2016 07:51 AM

  9. 7 Posted by hendrik on 18 Nov, 2016 07:51 AM

    hendrik's Avatar

    Thanks!

    -hendrik

  10. hendrik closed this discussion on 18 Nov, 2016 07:51 AM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac