Exclude `file` field `value` from `FormElement.form_values`. #199

Merged
merged 1 commit into from Jul 21, 2016

Conversation

Projects
None yet
2 participants
@tdivis

tdivis commented Jul 20, 2016

Similar to submit, image and reset, browsers don't send file field values in the POST when form is submitted. FormElement.form_values method already correctly excluded submit, image and reset fields, now it also excludes the file fields.

Tomas Divis
Exclude `file` field `value` from `FormElement.form_values`.
Similar to `submit`, `image` and `reset`, browsers don't send `file` field values in the POST when form is submitted. `FormElement.form_values` method already correctly excluded `submit`, `image` and `reset` fields, now it also excludes the `file` fields.
@scoder

This comment has been minimized.

Show comment
Hide comment
@scoder

scoder Jul 21, 2016

Member

Ok, seems reasonable. Thanks.

Member

scoder commented Jul 21, 2016

Ok, seems reasonable. Thanks.

@scoder scoder merged commit b41ee9f into lxml:master Jul 21, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment