You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Your html has an issue: the div inside the form is not closed... because I wondered why the browser would send so much additional stuff as you point out...

    `
    <html>
    <head><meta charset="utf-8"/></head>
    <body><h2>Konfiguration M</h2>
      <form action="/action_page.php" method="post">
        <div class="container">
          <label for="test"><b>TEST</b></label>
          <input name="test" type="text" placeholder="Enter text" required>
         <input type="submit" value="Submit">
        </div>
    </form>
    </body>
    </html>
    `
    

    For testing, I created this html (including the submit - which is not really needed), and served it from local 127.0.0.1 and posted it back there (to a not defined page - which does not matter, though, because - so far - I'm only interested in verifying/debugging the request...). What my browser - Chrome - tells me in the debugger/inspector, is attached as screenshots - encoded and parsed... and I see different (my testfield input is X+++B OK).

    ...and btw, even with the messed up form and submit absent, I see the same posted by the browser, as the 3rd screenshot shows. I'm interested in your screenshots...


    3 Attachments

    • encodeForm.png
    • parsedForm.png
    • aMessedUpForm.png
About

Avatar for allObjects @allObjects started