I noticed that some of our users actually put in uppercase characters in the url, which causes the link to open in a new window when it should open in the same window.
Steps to replicate:
1.) On http://example.com, add a link the points to http://example.com/test
2.) Add another link that points to http://Example.com/test
The first will open in the same window, the second will open in a new window.
Maybe run the href through toLowerCase() first.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | external-736052-2.patch | 484 bytes | q0rban |
| #2 | external-736052-2b.patch | 1.09 KB | q0rban |
Comments
Comment #1
q0rban commentedFYI, this only happens in Safari, as far as I can tell.
Comment #2
q0rban commentedFirst patch is just this fix.. 2b has the Drupal behaviors patch from #736046: Use drupal behaviors and this fix.
Comment #3
mcrittenden commentedCommitted to 6.x-1.9. Thanks!