FIX: support Permalink urls with query string