efronbs / ProfileSharing

0 stars 0 forks source link

Some cookies not being set #9

Closed efronbs closed 7 years ago

efronbs commented 7 years ago

Found bug where cookies with leading underscores are not being set.

efronbs commented 7 years ago

image

Found one without a leading underscore

image

Found success with leading underscore

efronbs commented 7 years ago

Renamed, no corrolation

sidstamm commented 7 years ago

It appears that loadProfile has a parameter "profile" that is shadowing the global. There may be other problems too.

See: https://github.com/efronbs/ProfileSharing/blob/master/JS/ProfileHandler.js#L119

efronbs commented 7 years ago

Solved: issue was incorrect use of substring resulted in bad URL being set.