PolymerElements / app-route

A modular client-side router

Home Page:https://www.polymer-project.org/1.0/articles/routing.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite loop when query params contain a single quote (')

keanulee opened this issue · comments

Description

When you set a query parameter to a string that contains a single quote (') through the queryParams property, app-location goes in an infinite loop (Maximum call stack size exceeded).

Expected outcome

No infinite loop

Actual outcome

Infinite loop

Live Demo

http://jsbin.com/zaworad/edit?html,output

Steps to reproduce

Open the console on the JSBin output and you'll see the errors.

Browsers Affected

All

Also mentioned in this comment:
#157 (comment)