AlessioDP
Member
- Affected version
- 2.0.2
I have some problems to get parameters if there are an hash into the link:
I cannot get 'var' with the second case.
I use this code to generate the link:
Posting here due to:
Code:
http://xxxxx.net/index.php?var=1
http://xxxxx.net/index.php#category.1?var=1
I cannot get 'var' with the second case.
I use this code to generate the link:
Code:
{{ link('categories', $node, {'var': 1}))
Posting here due to:
I would consider reporting this as a bug, I would expect the parameters to be appended to the route (before the hash). It looks like it might have something to do with theassertCanonicalUrl()
call in the category controller.