Eugene wrote:
> En op 08 juni 2002 sprak Dave Hoover:
> >  Lars brought up the idea of using
> > syntax like %00 to be interpreted as binary zero.  This isn't done
> > automatically, but by checking off a checkbox on the submit page that
would
> > run CGI::unescape on the code prior to any processing, I think it could
> > work.  What does everyone think about this?
>
> That is one option. Alternatively, you could perhaps use <INPUT
> TYPE="file"> to upload files.

This has been suggested before and I remember resisting it.  I realize now,
though, that my resistance was based on a false assumption that it would
require PGAS to store all of these solutions as files.  I think this could
work...does anyone see any downside to this approach?

After reading Ton's suggestion, perhaps it could be written to a file for
use as an email attachment for the goto referee (and then immediately rm'd).

> > If the CGI::unescape option were implemented, we would be left with the
> > problem of the post-mortem.  How should these characters be displayed?
>
> $script =~ s#(\cM\cJ)#'<BR>'#ge;
> $script =~ s#([\0-\x1f])#'<FONT COLOR="red">^'.($1^"\x40").'</FONT>'#ge;

Could you describe what is going on here?  I feel stupid and contagious...

Reply via email to