flake8
passed.
JSHint
passed.
Review Request #9470 — Created Jan. 5, 2018 and submitted
The user file attachments resource URL used for uploading images via
drag-and-drop wasn't correct when a local site was present, because we
were computing it inside the JavaScript. This change makes it so we
include the URL as part of theUserSessionmodel, which makes it work
correctly.