@@ -43,7 +43,7 @@ public static async Task HandleAsync(
4343 {
4444 logger ? . LogWarning ( "No Authorization header found in request with Basic Authentication Realm {realm}. Request: {Path}" ,
4545 realm ,
46- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
46+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
4747 await Challenge ( context , realm ) ;
4848 return ;
4949 }
@@ -53,7 +53,7 @@ public static async Task HandleAsync(
5353 {
5454 logger ? . LogWarning ( "Authorization header value missing or malformed found in request with Basic Authentication Realm {realm}. Request: {Path}" ,
5555 realm ,
56- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
56+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
5757 await Challenge ( context , realm ) ;
5858 return ;
5959 }
@@ -68,7 +68,7 @@ public static async Task HandleAsync(
6868 {
6969 logger ? . LogError ( ex , "Failed to decode Basic Authentication credentials in request with Basic Authentication Realm {realm}. Request: {Path}" ,
7070 realm ,
71- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
71+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
7272 await Challenge ( context , realm ) ;
7373 return ;
7474 }
@@ -78,7 +78,7 @@ public static async Task HandleAsync(
7878 {
7979 logger ? . LogWarning ( "Authorization header value malformed found in request with Basic Authentication Realm {realm}. Request: {Path}" ,
8080 realm ,
81- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
81+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
8282 await Challenge ( context , realm ) ;
8383 return ;
8484 }
@@ -89,7 +89,7 @@ public static async Task HandleAsync(
8989 {
9090 logger ? . LogWarning ( "Username or password missing in request with Basic Authentication Realm {realm}. Request: {Path}" ,
9191 realm ,
92- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
92+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
9393 await Challenge ( context , realm ) ;
9494 return ;
9595 }
@@ -115,7 +115,7 @@ public static async Task HandleAsync(
115115 {
116116 logger ? . LogError ( "PasswordHasher not configured for Basic Authentication Realm {realm}. Request: {Path}" ,
117117 realm ,
118- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
118+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
119119 await Challenge ( context , realm ) ;
120120 return ;
121121 }
@@ -135,7 +135,7 @@ public static async Task HandleAsync(
135135 logger ? . LogError ( "No Basic Authentication user configured for user {username} in request with Basic Authentication Realm {realm}. Request: {Path}" ,
136136 username ,
137137 realm ,
138- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
138+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
139139 await Challenge ( context , realm ) ;
140140 return ;
141141 }
@@ -168,7 +168,7 @@ public static async Task HandleAsync(
168168 }
169169 if ( paramCount >= 5 )
170170 {
171- command . Parameters . Add ( NpgsqlRestParameter . CreateTextParam ( endpoint . Url ) ) ;
171+ command . Parameters . Add ( NpgsqlRestParameter . CreateTextParam ( endpoint . Path ) ) ;
172172 }
173173
174174 await LoginHandler . HandleAsync (
@@ -177,7 +177,7 @@ await LoginHandler.HandleAsync(
177177 options ,
178178 endpoint . RetryStrategy ,
179179 logger ,
180- tracePath : string . Concat ( endpoint . Method . ToString ( ) , " " , endpoint . Url ) ,
180+ tracePath : string . Concat ( endpoint . Method . ToString ( ) , " " , endpoint . Path ) ,
181181 performHashVerification : false ,
182182 assignUserPrincipalToContext : true ) ;
183183
@@ -189,7 +189,7 @@ await LoginHandler.HandleAsync(
189189 logger ? . LogError ( "ChallengeCommand denied user {username} in request with Basic Authentication Realm {realm}. Request: {Path}" ,
190190 username ,
191191 realm ,
192- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
192+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
193193 await Challenge ( context , realm ) ;
194194 return ;
195195 }
@@ -210,7 +210,7 @@ await LoginHandler.HandleAsync(
210210 logger ? . LogWarning ( "Invalid password for user {username} in request with Basic Authentication Realm {realm}. Request: {Path}" ,
211211 username ,
212212 realm ,
213- string . Concat ( endpoint . Method . ToString ( ) , endpoint . Url ) ) ;
213+ string . Concat ( endpoint . Method . ToString ( ) , endpoint . Path ) ) ;
214214 await Challenge ( context , realm ) ;
215215 }
216216 }
0 commit comments