Libraryless. Click here for Pure Java version (2513L/16K).
1 | static SS decodeHQuery(S query) { |
2 | new SS map; |
3 | for (S s : splitAtAmpersand(query)) { |
4 | int i = s.indexOf('='); |
5 | if (i >= 0) |
6 | map.put(urldecode(s.substring(0, i)), urldecode(s.substring(i+1))); |
7 | } |
8 | ret map; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003715 |
Snippet name: | decodeHQuery - decode HTML query |
Eternal ID of this version: | #1003715/2 |
Text MD5: | a7a741e5c94749b306e01ae416a77ca9 |
Transpilation MD5: | 74d997b95036c59828795cf8edb4075a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-18 18:19:41 |
Source code size: | 230 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 586 / 651 |
Version history: | 1 change(s) |
Referenced in: | [show references] |