-
Notifications
You must be signed in to change notification settings - Fork 3k
target="_blank" ui-sref's with slashes get converted to %2F
(even when using custom param type)
#1741
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
Comments
target="_blank"
ui-sref's with slashes get converted to %2F
(even when using custom param type)%2F
(even when using custom param type)
I have the same problem as well, but always. It doesn't matter if there's a target="_blank" oder not. If i open your provided punkr, i always see the encoded URLs independent of the target attribute. How did you get this working without a target attribute? From my point of view, it never works.... |
Any update on this? |
Simplified plunkr from #1119: http://plnkr.co/edit/tNlRmadZRUGRPHhrKqTQ?p=preview |
+1 i have same problem |
solved by this http://jsfiddle.net/jylinman/rm1Lbptf/1/ |
@jomonkj that fiddle does not solve the problem for me on Chrome 44.0.2403.89 for Mac OS X 10.10.4 |
@mismith you are correct. jsFiddle code only work with firefox. Issue remains with IE and Chrome |
@mismith 👍 for the report, I have the same issue. Did you resolve it some how? |
@mismith Getting the same issue, you found any solution for this ? |
This is addressed in 1.0 using |
Using the following custom type:
The following:
Opens the following / generates the following
href
:Where I would expect:
Live plnkr showing this bug: http://plnkr.co/edit/7WbNArmXm2p3scQUzWHh?p=preview
The expected behaviour does seem to work when there is no
target="_blank"
attribute on the link. How can I work around this?The text was updated successfully, but these errors were encountered: