Unencoded URL
-
I’m working with Broadbean to complete a clients integration and they have requested that the URL is returned non-encoded.
The URL is currently being returned to them as:
clientsdomain.com/jobs/t%c5%91ke-%c2%a3-%e2%82%ac-2-915/However they have requested to return
clientsdomain.com/jobs/t?ke-£-€-2-915/I’ve had a rummage in the codebase and have found templates/inbox.php where line 253-258 echos the response I’ve seen when posting the XML:
// set some echo text. $text = sprintf( // translators: 1: job post id. __( 'Success! Job added/updated with a post ID of %1s. You can view the job here: %2s', 'wpbroadbean' ), $job_id, get_permalink( $job_id ) );
Can I sanitise this string to return the clean domain as requested, or do I need to approach this in a different way?
TIA for your feedback on this.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unencoded URL’ is closed to new replies.