Unable to attach Groovy scripts: "contents that are not what they are reported to be"
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
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
Support Staff 1 Posted by Courtenay on 15 Nov, 2016 11:35 PM
it's because you're using a custom mime type and extension. What mime type are the scripts being reported as?
2 Posted by hendrik on 16 Nov, 2016 08:32 AM
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
Support Staff 3 Posted by Courtenay on 16 Nov, 2016 08:55 AM
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 Posted by hendrik on 16 Nov, 2016 09:14 AM
Really? I would have thought
text/x-groovy
as used on (for example):Support Staff 5 Posted by Courtenay on 18 Nov, 2016 04:00 AM
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.
Support Staff 6 Posted by Courtenay on 18 Nov, 2016 04:19 AM
testing :)
Courtenay closed this discussion on 18 Nov, 2016 04:19 AM.
hendrik re-opened this discussion on 18 Nov, 2016 07:51 AM
7 Posted by hendrik on 18 Nov, 2016 07:51 AM
Thanks!
-hendrik
hendrik closed this discussion on 18 Nov, 2016 07:51 AM.