User story #1767
closedPT Download a file: no validation of the URL
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.
Updated by Jonathan CLARKE about 13 years ago
- Status changed from New to 2
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 4
- Target version changed from 23 to 2.3.0
I don't think it's our job to validate URLs - either curl can do it, or the user :-)
However, we should add a message to clarify.
Updated by Matthieu CERDA about 13 years ago
- Status changed from 2 to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:2e014b7d3a049a85deac54346d75ccba5ff3605a.
Updated by Jonathan CLARKE about 13 years ago
- Status changed from Pending technical review to Released
Updated by almost 13 years ago
- Subject changed from PT Download a file: no validation of the URL to Pozycjonowanie
- Description updated (diff)
- Assignee changed from Matthieu CERDA to Arthur ANGLADE
- % Done changed from 100 to 0
Updated by Jonathan CLARKE almost 13 years ago
- Subject changed from Pozycjonowanie to PT Download a file: no validation of the URL
- Description updated (diff)
- Assignee changed from Arthur ANGLADE to Matthieu CERDA
- % Done changed from 0 to 100
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category changed from Policy Templates to Techniques