shareId is now properly encoded with escapes