Webview does not display when URL is long

Bug description:
I have a Teams project that is HTML/CSS/Js. Some students can preview using Webview, but others cannot and receive frowny face with message like “Server IP address could not be found” in the Webview window.

I noticed that the generated URL concat’s team name, project name, user name, etc. and URLs that are longer than 78-80 chars seem to be the ones that fail in Webview. Different user names are different lengths so some push the URL length over the edge (so it appears).

Workaround is to open a new tab.

Cannot rename to shorter project name as a workaround because renaming is a different known bug (renaming a project after students start it breaks student links).

Expected vs Current Behavior:
Webview should work for reasonably long project, team, and username combinations.

Steps to reproduce:
Try to open a Webview of an HTML project where the URL exceeds ~80 characters.

Bug appears at this link:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile: https://replit.com/@tburkat

2 posts were merged into an existing topic: Error running forked code from education student