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
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Create a request using $http service and provide: a) an URL without any params nor question mark b) an empty params set {} (people fallback to some sort of default to avoid errors)
ACTUAL: Notice in developer tools the URL has actually a question mark in it
EXPECTED: As long as we don't have an iterable array/object with a length bigger or equal to 1, we should not affect the URL.
STEPS
ACTUAL: Notice in developer tools the URL has actually a question mark in it
EXPECTED: As long as we don't have an iterable array/object with a length bigger or equal to 1, we should not affect the URL.
Source code: https://github.com/angular/angular.js/blob/master/src/ng/http.js#L1013-L1029 (please note the first line from buildURL: "if (!params) return url;") ).
originally noticed by Marius Radvan.
The text was updated successfully, but these errors were encountered: