Fix for reply to user avatar and picture uploading not working when editing post with discourse running in a prefix