On Wed, Apr 10, 2019 at 11:51 AM F S <[email protected]> wrote:

> On Monday, April 8, 2019 at 7:45:40 PM UTC+2, Pablo Heiber wrote:
> > * Downloading solutions just gives a binary blob, that lack the proper
> content type to have a good extension and/or open in an editor (at least on
> OSX).
> >
> >
> >
> >
> >
> > Hi,
> >
> >
> > What do you mean by binary? It downloads as a .txt file to me. If it did
> something different to you, please let us know at [email protected], as
> that was not intended.
> >
> >
> > The reason we don't use the real extensions for the language is that it
> may be a security risk if they were to auto-execute or
> auto-compile&execute. Some browsers and anti-viruses characterize files
> with source code extensions (in particular, .sh and .py) as a security
> problem. We don't want these codes to be run in anyone's machine by
> accident or without an explicit check by the machine's owner, since even
> non-malicious code can have bad consequences if run on systems other than
> the intended.
>
> I looked closer.
>
> Using Chrome on OSX
>
> Go to contest page
>
> Search for Gennady.Korotkevich
>
> Download first answer
>
> The file is 'Gennady.Korotkevich-00000000000b3ae5'
>
> Other entries work well. I think you check if the file contains a '.',
> and, as his name already contains one, there is no additional extension.
> This is wrong.
>
>
That does look like a bug, thanks for reporting! The file should still have
the proper content (I just tested your example and the content was ok). If
it doesn't, please let us know, because that's a different bug.

Best,
Pablo

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CANa5jcAEhhYem1jnmL1bf8mx4CUju2w%3DZOtKvJ_2RwqeFN269A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to