I’m running EE 2.4 and am running into the same problem with ‘pages_url’ adding an unwanted trailing slash to the end of a url, even if it doesn’t exist in the entry’s page uri.
The workaround is simple enough, but is this going to be addressed in the next EE update?