We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b61df commit 906766dCopy full SHA for 906766d
src/oracle/connection/mod.rs
@@ -698,6 +698,15 @@ impl OciConnection {
698
let password = url
699
.password()
700
.ok_or_else(|| ConnectionError::InvalidConnectionUrl("Password not set".into()))?;
701
+
702
+ let password = percent_encoding::percent_decode_str(password)
703
+ .decode_utf8()
704
+ .map_err(|_| {
705
+ ConnectionError::InvalidConnectionUrl(
706
+ "Password could not be percent decoded".into(),
707
+ )
708
+ })?;
709
710
let host = url
711
.host_str()
712
.ok_or_else(|| ConnectionError::InvalidConnectionUrl("Hostname not set".into()))?;
0 commit comments