Skip to content

Commit

Permalink
Stringify url_encode and decode input before sending it to Rust (#73)
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
  • Loading branch information
Gamer025 and Cyberboss committed Aug 11, 2021
1 parent d453428 commit d6b6b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmsrc/url.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define rustg_url_encode(text) call(RUST_G, "url_encode")(text)
#define rustg_url_encode(text) call(RUST_G, "url_encode")("[text]")
#define rustg_url_decode(text) call(RUST_G, "url_decode")(text)

#ifdef RUSTG_OVERRIDE_BUILTINS
Expand Down

0 comments on commit d6b6b1d

Please sign in to comment.