question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Url with underscore in subdomain is not working

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
kenjirucommented, Apr 8, 2020

@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.

0reactions
flotwigcommented, May 31, 2022

@MtDalPizzol I think that is just the error message being incorrectly handled as markdown: __cypress__ -> cypress

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can (domain name) subdomains have an underscore "_"
URLs can't have underscores. A URL is always a FQDN, it's not a host name. A FQDN can have an empty host name,...
Read more >
iOS 14 Conflict with Underscores in Subdomain
iOS 14 no longer supports underscores in subdomains / hostnames. · Any form with an underscore in the subdomain that is being shared...
Read more >
Underscores Not Allowed in Domain Names - SSL.com
(Recommended) If possible, change the name of the subdomain so that it no longer contains underscores (e.g. change. sub_domain.example.com · If ...
Read more >
Underscores not allowed in FQDNs - DigiCert.com
As of October 1, 2018, DigiCert no longer issues public certificates for domains and subdomains that contain underscores ( _ ). This applies...
Read more >
Underscore in subdomain fails - Help
Ok, I think we have a problem with different description of what we have here - a hostname or a DNS domain name....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found