You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMHO, the URL http://localhost:8181/files?foo=abc/def has not a valid syntax. The query parameter foo=abc/def contains a path delimiter. If you need to pass a list the delimiter is semicolon (;) else if you have access to the back-end that implements the REST API you can replace the slash by a dash (-).
A little defensive programming to behave better in this situation would be nice. Either ignoring invalid data or raising an explicit error would be better than silently passing along invalid results until they cause a problem much later that then needs to be traced back.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen!
This line needs to strip off the query parameters and fragment identifier before looking for the final slash. If my page location is "http://localhost:8081/files?foo=abc/def", the existing code sets rootPath to "http://localhost:8081/files?foo=abc/", but it should be "http://localhost:8081/".
polymer/lib/utils/resolve-url.html
Line 90 in 1a32f4d
The text was updated successfully, but these errors were encountered: