Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ui/scripts/sharedFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1824,8 +1824,7 @@ var processPropertiesInImagestoreObject = function(jsonObj) {
Replace the + and / symbols by - and _ to have URL-safe base64 going to the API
It's hacky, but otherwise we'll confuse java.net.URI which splits the incoming URI
*/
secret = secret.replace("+", "-");
secret = secret.replace("/", "_");
secret = secret.replace(/\+/g, '-').replace(/\//g, '_').replace(/\=+$/, '');

if (id != null && secret != null) {
monitor = id + ":" + secret + "@" + monitor;
Expand Down