We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21e4016 + d0fcae7 commit 4d5e4d8Copy full SHA for 4d5e4d8
1 file changed
lib/io/jans/util/URLParsing.java
@@ -27,27 +27,4 @@ public static String getRedirectUri() {
27
}
28
29
30
- public static Map<String, String> extractParametersFromUrl(String urlString) {
31
- Map<String, String> parameters = new HashMap<>();
32
-
33
- try {
34
- URL url = new URL(urlString);
35
- String query = url.getQuery();
36
- if (query != null) {
37
- String[] pairs = query.split("&");
38
- for (String pair : pairs) {
39
- String[] keyValue = pair.split("=");
40
- if (keyValue.length == 2) {
41
- String key = keyValue[0];
42
- String value = keyValue[1];
43
- parameters.put(key, value);
44
- }
45
46
47
- } catch (Exception e) {
48
- LOG.debug(e);
49
- e.printStackTrace();
50
51
- return parameters;
52
53
0 commit comments