Can we make any guarantees about slashlessness about these URLs?  Certainly if there's a query, you can't just append "/foo" to the URL.  The caller would be in control of the query I guess....