feat: full copy from apollo_nxt-trcaa with complete sanitization #69

Merged
sarman merged 36 commits from feature/full-copy-from-trcaa into master 2026-06-06 03:19:27 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2b82c28809 - Show all commits

View File

@ -54,7 +54,7 @@ pub fn build_auth_url(
urlencoding_encode(client_id),
urlencoding_encode(redirect_uri),
urlencoding_encode(scope),
&pkce.code_challenge,
pkce.code_challenge,
)
}

View File

@ -128,7 +128,7 @@ pub async fn search_confluence(
}
}
all_results.sort_by(|a, b| canonicalize_url(&a.url).cmp(&canonicalize_url(&b.url)));
all_results.sort_by_key(|a| canonicalize_url(&a.url));
all_results.dedup_by(|a, b| canonicalize_url(&a.url) == canonicalize_url(&b.url));
Ok(all_results)