Project

General

Profile

Actions

User story #1767

closed

PT Download a file: no validation of the URL

Added by Fabrice FLORE-THÉBAULT about 13 years ago. Updated over 9 years ago.

Status:
Released
Priority:
4
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

There is no validation of the URL: URL can accept any input:

URL to download file from: toto is accepted

For me, that raises the questions: what happens if the given URL is wrong? Where and when will it be checked?

And, indeed, curl is very liberal in the form an URL can be, the manpage says:

curl will do its best to use what you pass to it as a URL. It is not trying to validate it as a syntactically correct URL by any means but is instead very liberal with what it accepts.

I guess we should add something like the above sentence as comment for this field, if there is no other validation step at any moment.

Actions

Also available in: Atom PDF