• Resolved olay

    (@olay)


    Hello I’m finding that when i use a url query with spaces in (which are encoded as %20 in the url) these are simply missed out when they arrive dynamically in the field

    So the following url

    https://website.com?SUBJECT:Discover%20The%20Edge

    In the field would be

    SUBJECT:DiscoverTheEdge

    Other characters that also use html encoding are also simply skipped when they appear in the field. Is there any way around this?

    my form field is as follows:

    [dynamictext your-subject query "CF7_URL part='query'"]

    Super plugin, thanks in advance for the support.

Viewing 1 replies (of 1 total)
  • Plugin Author Tessa (they/them), AuRise Creative

    (@tessawatkinsllc)

    Yes, off the top of my head, I’m guessing it’s because of the sanitizing and escaping filters.

    If you enable cache compatibility mode for that field like so

    [dynamictext your-subject query dtx_pageload "CF7_URL part='query'"]

    the encoded spaces will remain (as encoded – tried it out here). Shouldn’t be an issue with hidden fields, but I can take a deeper look at the sanitizing to see what’s up.

Viewing 1 replies (of 1 total)
  • The topic ‘Spaces and encoded characters in URL query’ is closed to new replies.