• Resolved rorange

    (@rorange)


    When using shortcode [submit_job_form] special characters like %5D en %5B (which are part of some url ‘s i have to enter) in the field e-mailadres or website disappear after saving. This causes linking to a wrong or non existing page. I use it with theme jobify but it happens too in other themes (like twenty sixteen).
    Only by manual replacing all these characters to an ascii character like %5B converting to [ , i can make it work (because browsers translate it back to the correct utf-8 character). But that’s a lot of work.

    For testing just use an URL-page which have filters in it they have plenty of those characters.

    Hope this can be fixed

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey rorange,

    You need to use esc_url() function of wordpress for saving the url into db.
    This function will sanitize the url before saving it into database. Try thus function before uaing it.

    Hope this can help you.

    Plugin Contributor jonryan

    (@jonryan)

    @rorange did this end up working for you? I’m marking this as resolved since this seems to be answered but feel free to update it or start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Url in input field “website” is saved incorrect for some special characters’ is closed to new replies.