From 1844f5b694f1c09e26a100ba07544ddb3da73a72 Mon Sep 17 00:00:00 2001 From: wstgbot <62450690+wstgbot@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:11:30 -0400 Subject: [PATCH] Publish Latest 2024-09-10 (#430) Updates based on OWASP/wstg@a8cd030 --- latest/6-Appendix/F-Leveraging_Dev_Tools.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/latest/6-Appendix/F-Leveraging_Dev_Tools.md b/latest/6-Appendix/F-Leveraging_Dev_Tools.md index 45b369d7..380d81ba 100644 --- a/latest/6-Appendix/F-Leveraging_Dev_Tools.md +++ b/latest/6-Appendix/F-Leveraging_Dev_Tools.md @@ -252,12 +252,9 @@ All major browsers support manipulating CSS leveraging the Dev Tools Console and All major browsers support encoding and decoding strings in various ways leveraging the Dev Tools Console and JavaScript functionality: -- Base64 encode: `btoa("string-to-encode")` -- Base64 decode: `atob("string-to-decode")` -- URL encode: `encodeURIComponent("string-to-encode")` -- URL decode: `decodeURIComponent("string-to-decode")` -- HTML encode: `escape("string-to-encode")` -- HTML decode: `unescape("string-to-decode")` +- base64 encode: `btoa("string-to-encode")` & base64 decode: `atob("string-to-decode")` - built-in JavaScript functions that are used to encode a string to base64 and decode a string from base64. +- URL encode: `encodeURIComponent("string-to-encode")` & URL decode: `decodeURIComponent("string-to-decode")` - It encodes and decodes user-supplied input that will be used as a part of a URL, and it encodes all characters that have special meanings in a URL, including reserved characters. +- URI encode: `encodeURI()` and URI decode: `decodeURI()` are functions used to encode and decode a complete URI, such as query parameters, path segments, or fragments, including special characters but excluding the reserved characters such as `:/?#[]@!$'()*+,;=` which have special meanings in a URL. ## Responsive Design Mode