Tutorial: Form upload in vibe.d

NVolcz via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Dec 11 11:22:34 PST 2016


On Saturday, 10 December 2016 at 17:39:20 UTC, aberba wrote:
> On Thursday, 8 December 2016 at 20:48:52 UTC, NVolcz wrote:
>> On Tuesday, 6 December 2016 at 22:28:04 UTC, aberba wrote:
>>> [...]
>>
>> Love the article! Please keep writing tutorials like this :-D.
>>
>> Feedback:
>> 1.
>> The upload function is (kind of) vulnerable against path 
>> traversal:
>>   moveFile(file.tempPath, Path("./public/uploads") ~ 
>> file.filename);
>>
>> [...]
>
> Thanks for feedback. Will consider those points raised in 
> thought. Will add more advanced stuff and security as time goes 
> on.

Please fix the security vulnerability for this tutorial as well 
in case someone copy pastes the code.


More information about the Digitalmars-d-announce mailing list