Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server-switch gets confused if a domain is a subset of another #1

Open
diox opened this issue Apr 30, 2011 · 0 comments
Open

Server-switch gets confused if a domain is a subset of another #1

diox opened this issue Apr 30, 2011 · 0 comments
Assignees

Comments

@diox
Copy link

diox commented Apr 30, 2011

Steps to reproduce:

  1. Create a bookmarklet with 2 domains, in this order: www.example.org and stagewww.example.org. The first one needs to be contained in the second one.
  2. Go to second domain (stagewww)
  3. Bookmarklet thinks you are on the first one because it matches. It shows the wrong domain with an incorrect link (it will show a stagewww link, since it thinks you are on the other one, but in addition the href will point to stagestagewww.example.org because of the replacing it does)

It should not happen :-) A workaround is to simply different subdomains when you can (like wwwstage instead of stagewww).

@ghost ghost assigned rik Apr 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants