File 1148-stdlib-fix-uri_string-percent_decode-spec.patch of Package erlang
From 0cdb408da16d54fb12f94cdb8f5903a79852a66a Mon Sep 17 00:00:00 2001
From: Konrad Pietrzak <konrad@erlang.org>
Date: Wed, 2 Oct 2024 13:24:43 +0200
Subject: [PATCH] stdlib: fix uri_string:percent_decode spec
---
lib/stdlib/src/uri_string.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/stdlib/src/uri_string.erl b/lib/stdlib/src/uri_string.erl
index dbbb835036..938dab4bfd 100644
--- a/lib/stdlib/src/uri_string.erl
+++ b/lib/stdlib/src/uri_string.erl
@@ -499,7 +499,7 @@ allowed_characters() ->
URI :: uri_string() | uri_map(),
Result :: uri_string() |
uri_map() |
- {error, {invalid, {atom(), {term(), term()}}}}.
+ {error, {invalid, {atom(), {term(), term()}}}} | error().
percent_decode(URIMap) when is_map(URIMap)->
Fun = fun (K,V) when K =:= userinfo; K =:= host; K =:= path;
K =:= query; K =:= fragment ->
--
2.43.0