cypress: Url with underscore in subdomain is not working

Current behavior:

We have an project environment like this: https://opt_in_opt_out.bzr.project.independer.nl

If I start the runner and select any script the page stays empty.

image

Desired behavior:

Just run the scripts just like normal

Steps to reproduce: (app code and test code)

Make a project environment with _ (underscores) in it. Run a script against it

Versions

Cypress: 3.0.1 Windows 7 Chrome 74.0.3729.169

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 7
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@Niceplace The Stackoverflow question and the RFC referenced in it RFC3986#section-3.1 refers to the scheme part of the URL.

So my understanding is that it’s perfectly legal for the rest of the URL to can contain an _ as explained in here RFC2181#section-11

So this looks like a bug in Cypress.