Home > Back-end >  How [for] when the form submission to intercept and remove one of the parameters in the request
How [for] when the form submission to intercept and remove one of the parameters in the request

Time:11-12

Because some of the information security requirements, received a modified work, baidu still don't know how to deal with after the half day, turn to your bosses:

How to when the form submission to intercept the request and is removed from the request of a particular parameter?

Existing condition:
1, page structure cannot be modified, can modify the name attribute of the input tag, nor place the input to the form structure of the lateral)
2, input tag is hidden in an anonymous iframe, can't you use getElementById or $(" # id "), and other access to control itself (and therefore cannot pass onsubmit interceptor modify the value or disable properties etc.)
3, requirements before the request to send, in which the value of the intercept and delete, data can not be sent to the server side,

CodePudding user response:

Page elements and getElementById more than one way to get, since you know he is an iframe, so what do you get all the iframe then traverse is not good?
Have you submit the iframe have what relation with you... You submit the js is running in the iframe in the iframe, submit the iframe outside form the more with the iframe it doesn't matter.
  • Related