0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 12:18:54 +02:00

ircd:Ⓜ️:error: Unquote the returned strings.

This commit is contained in:
Jason Volk 2019-04-27 18:26:14 -07:00
parent 43e36861cc
commit cf0196d374

View file

@ -6063,7 +6063,7 @@ const noexcept
this->http::error::content
};
return content.get("error");
return unquote(content.get("error"));
}
ircd::string_view
@ -6075,5 +6075,5 @@ const noexcept
this->http::error::content
};
return content.get("errcode", "M_UNKNOWN"_sv);
return unquote(content.get("errcode", "M_UNKNOWN"_sv));
}