Problem description:
There is a problem with the webview for some projects… There are extra hyphens (-
) being inserted into the iframe url just after the username instead of a .
.
https://javascript-fundamentals-and-the-dom-<USERNAME>--codeworks-precourse.repl.co/__replco/devtools_wrapper.html
If the extra hyphens are removed after the username works
https://javascript-fundamentals-and-the-dom-<USERNAME>.codeworks-precourse.repl.co/
Expected behavior:
The webview preview iframe should be set appropriately. This could be an issue due to an untrimmed username or project
%3C%3E..repl.co
Actual behavior:
The webview iframe produces a 404 with the message
%3C%3E–.repl.co ’s server IP address could not be found
Steps to reproduce:
create a fork of the following project.
team join url: https://replit.com/team/codeworks-precourse
https://replit.com/@codeworks-precourse/JavaScript-Fundamentals-and-the-DOM
Bug appears at this link:
https://javascript-fundamentals-and-the-dom-–codeworks-precourse.repl.co/__replco/devtools_wrapper.html
Browser/OS/Device:
All chromium Browsers