-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix/ie11 fix rebased on refactor work #7
base: master
Are you sure you want to change the base?
Bugfix/ie11 fix rebased on refactor work #7
Conversation
wingleung
commented
Dec 19, 2018
- IE11 bugfix
- basic styling index.html
var formDataUrlParams = 'exp=' + inputExp.value + '&subject=' + subjectInput.value; | ||
domains.querySelectorAll('input').forEach(function(input) { | ||
if (input.checked) { | ||
formDataUrlParams = formDataUrlParams + '&' + input.name + '=' + input.value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moet hier geen escaping gebeuren?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je zou knn opperen van wel, maar bogus input moet toch op de backend gechecked worden. frontend input is niet te vertrouwen :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
De backend checkt de data die aangeleverd wordt; dat is het probleem niet.
Het probleem is dat de gebruiker rare foutmeldingen gaat krijgen als hij een "ongewoon" karakter in zijn Subject tikt. Met spatie ook als ongewoon...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nielslaukens wordt automatisch gedaan op lijn 164 door new URLSearchParams(formDataUrlParams)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure dat een ingevulde subject van foo&dummy=bar
de boel om zeep gaat helpen...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.