Encode selection to avoid breaks
increase webrick uri length for get posts