fix a bug of directory separator in pagination_url filter