Skip to content

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 02 Jun 08:44

Key Features

  • Enhanced the verifyHCaptcha function to ensure proper encoding of the hCaptcha verification POST form body by utilizing strings.NewReader. This change improves the reliability of the request body serialization.

Bug Fixes

  • Resolved an issue by removing the redundant assignment of req.PostForm, streamlining the request preparation process and eliminating unnecessary code.

Technical Improvements

  • Updated the http.NewRequestWithContext function to directly incorporate the encoded form data into the request body, enhancing the clarity and efficiency of the code.
  • Adjusted import statements to include the strings package, facilitating the new functionality introduced in the verifyHCaptcha function.