Tutorial: Form upload in vibe.d

aberba via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Dec 10 09:39:20 PST 2016


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.


More information about the Digitalmars-d-announce mailing list