Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

click_handler.dart drops query parameters #95

Closed
mehaase opened this issue Mar 18, 2015 · 1 comment
Closed

click_handler.dart drops query parameters #95

mehaase opened this issue Mar 18, 2015 · 1 comment

Comments

@mehaase
Copy link

mehaase commented Mar 18, 2015

If I have a link like <a href='/widget?foo=bar'> and I click it, the router takes me to /widget' instead of /widget?foo=bar. I see the issue in click_handler.dart:

  _router.gotoUrl(
      _useFragment ? _normalizer(anchor.hash) : '${anchor.pathname}');
}

anchor.search should be appended to the new URL.

@pavelgj
Copy link
Contributor

pavelgj commented May 27, 2015

Fixed in 7cd7257

@pavelgj pavelgj closed this as completed May 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants