Arturo Filastò

Results 192 comments of Arturo Filastò

What about having a new token that is a file specific token that should be spent only for file uploads. When you end creating the submission you will pass the...

Yes I understand this, that is why I was suggesting a token based scheme that works like so: POST /token/fileupload { file_id: XXXX } You use flow.js to upload to...

Oh I see what you mean. Does it really matter? Why not put in the DB? How many writes are we even talking about? I don't expect there to be...

I also encountered this error and was at first a bit confused, but then realised that it was happening because I was passing a `Buffer` instead of a "binary string"....

> Reading the file with encoding set fixes this problem: > const input = fs.readFileSync('./thefile.txt', {encoding: 'utf8'}); If you are reading the file in that way, then you do not...

Are you an admin of a tor2web node? Would such interface be something to be accessed by an authenticated admin or something to allow users to report URL's to be...

I don't think we should be blocking .exe, since there are a lot of legitimate uses for having such kind of files types be offerred over tor2web. I do agree...

The API should implement a JSONP (CORS headers are not required) interface that will allow the requester to obtain if their publicly exposed IP address appears to be from the...

Good call, though I actually wonder if we want to be keeping a list of iso alpha2 country codes to country names mappings inside of this repo. @sneft @jakubd do...

I think the wikipedia page on [ISO 3166 alpha2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) and the [official ISO standards code page](https://www.iso.org/obp/ui/#search/code/) are the most authoritative sources on this. In relation to mapping the country codes...