Fix URI component escaping in example code