MSEdgeRedirect icon indicating copy to clipboard operation
MSEdgeRedirect copied to clipboard

MS Teams links not working

Open SebastEnn opened this issue 8 months ago • 6 comments

Preflight Checklist

  • [x] Running microsoft-edge:https://google.com redirects successfully
  • [x] Microsoft Edge is selected in any "How do you want to open this?" box

Install Type

Manual Update

Install Mode

Active Mode

Steps to reproduce

When I try to open any link from MS Teams, I receive the following error message from MSER:

https://https%3A%2F%2Fstatics.teams.cdn.office.net%2Fevergreen-assets%2Fsafelinks%2F[...] Could not be found. Please make sure you typed the name correctly and try again (rough translation)

The second https looks suspicious. Maybe MSER is appending https:// at the beginning which causes problems?

✔️ Expected Behavior

Links would open properly.

❌ Actual Behavior

I receive the above mentioned error message from MSER.

Microsoft Windows version

24H2 Build 26100.3476

Other Software

No response

SebastEnn avatar Mar 27 '25 15:03 SebastEnn

This on 0.7.5.3 or 0.8?

rcmaehl avatar Mar 27 '25 15:03 rcmaehl

This is happening since I've updated to v0.8.0.0. Before, It would open https://decodedUrl/ in a new browser tab.

SebastEnn avatar Mar 27 '25 15:03 SebastEnn

Yep. I dropped https://decodedUrl/ because it was supposed to contain the decodedUrl but wasn't. At first glance I believe this is caused by MSEdgeRedirect enforcing HTTP/HTTPS as the protocol via _IsSafeURL before _WinAPI_UrlUnescape is called but I'll have to do a deeper dive later today.

rcmaehl avatar Mar 27 '25 15:03 rcmaehl

Please try the latest dev build when you have a moment

https://nightly.link/rcmaehl/MSEdgeRedirect/workflows/MSER/0.8.1.0-dev/mser.zip

rcmaehl avatar Mar 28 '25 15:03 rcmaehl

The latest dev build worked for me!

dfrazao avatar Mar 31 '25 13:03 dfrazao

Please try the latest dev build when you have a moment

https://nightly.link/rcmaehl/MSEdgeRedirect/workflows/MSER/0.8.1.0-dev/mser.zip

This build fixes the issue 👍

SebastEnn avatar Mar 31 '25 17:03 SebastEnn