Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor James Koster

    (@jameskoster)

    It’s because of esc_url() removing the unencoded [] chars.

    You can find more info here: https://core.trac.www.ads-software.com/ticket/16859

    Is there no option to get urls without these chars?

    Thread Starter Marie-Aude

    (@marie-aude)

    Hi,

    Zanox ( https://www.zanox.com ) is one of the largest affiliation vendors on the web, especially in Europe. They have thousands of programs. So, no, I don’t think it even makes sense to ask them to change a url scheme which is used by millions of people, but you can try ??

    Imho a ” _product_url” for an external product is definitively not a normal url, many affiliate services include strange characters for tracking. Though sanitization should occur, it should accept different url schemes, or at least have an option somewhere for that.

    Thread Starter Marie-Aude

    (@marie-aude)

    Actually, the best short term solution would be that you add a specific hook for saving / updating products and then people like me would be able to mingle with sanitization ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘_product_url sanitization’ is closed to new replies.