Skip to content

fix: citation link issue resolved#1937

Merged
Roopan-Microsoft merged 1 commit into
Azure-Samples:devfrom
Priyanka-Microsoft:psl-bug-24546-citation-issue-resolved
Oct 8, 2025
Merged

fix: citation link issue resolved#1937
Roopan-Microsoft merged 1 commit into
Azure-Samples:devfrom
Priyanka-Microsoft:psl-bug-24546-citation-issue-resolved

Conversation

@Priyanka-Microsoft

@Priyanka-Microsoft Priyanka-Microsoft commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Purpose

  • ...
    This pull request updates the logic for rewriting citation URLs in the CitationPanel.tsx component. The main improvement is that it now distinguishes between internal blob storage URLs and external URLs, ensuring citations link appropriately.

URL handling improvements:

  • Updated the rewriteCitationUrl function to check if the URL is from the blob storage host (blob.core.windows.net). Internal blob storage URLs are rewritten to use the local /api/files/ endpoint, while external URLs are left unchanged and linked directly.

Bug Link
https://dev.azure.com/CSACTOSOL/CSA%20Solutioning/_workitems/edit/24546/

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit f2976be into Azure-Samples:dev Oct 8, 2025
6 checks passed
@Priyanka-Microsoft Priyanka-Microsoft deleted the psl-bug-24546-citation-issue-resolved branch November 11, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants