OmerFlame / SwiftRant

devRant API library made in Swift.
GNU General Public License v3.0
3 stars 1 forks source link

Fix rant/comment post/edit methods for rants/comments that contain non-alphanumerics in them #22

Closed OmerFlame closed 1 year ago

OmerFlame commented 1 year ago

There was a request body encoding bug where any non-alphanumeric in the rant/comment's body would not be encoded (including critical characters like '&' and other sensitive characters).

This is a proposed fix for this issue.