File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ function instrumentSvelteKitFetch(originalFetch: SvelteKitFetch): SvelteKitFetch
179
179
const patchedFetchArgs = [ input , patchedInit ] ;
180
180
181
181
if ( createSpan ) {
182
- U ;
183
182
fetchPromise = trace (
184
183
{
185
184
name : `${ requestData . method } ${ requestData . url } ` , // this will become the description of the span
Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ export function getSanitizedUrlString(url: PartialURL): string {
68
68
( host &&
69
69
host
70
70
// Always filter out authority
71
- // Regex partially taken from: https://stackoverflow.com/a/6165138
72
- . replace ( / (?: ( [ ^ @ ] * ) @ ) / , '[filtered]:[filtered]@' )
71
+ . replace ( / ^ .* @ / , '[filtered]:[filtered]@' )
73
72
// Don't show standard :80 (http) and :443 (https) ports to reduce the noise
74
73
. replace ( ':80' , '' )
75
74
. replace ( ':443' , '' ) ) ||
You can’t perform that action at this time.
0 commit comments