• ResolvedPlugin Author John Huebner

    (@hube2)


    Please be aware that parameters are not escaped properly.

    Prior to making this a WP plugin I passed parameters to the script as a query string rather than as an object. This required that I url encoded the values before the I passed them. I’ve been using this script so long it was just a habit.

    I was recently building a new feature that required a value with a space in it which caused a problem.

    I will update this plugin at some point to include an argument parameter that will cause values to be automatically escaped. I will make this argument default to false to maintain backward compatibility with the current version.

    For now, you will need to url encode values before calling Blunt Ajax if there are any characters in your values that need escaping.

    my_var = encodeURI(my_var)

    https://www.ads-software.com/plugins/blunt-ajax/

Viewing 1 replies (of 1 total)
  • Plugin Author John Huebner

    (@hube2)

    Added escaping to parameters, added ability to use multidimensional parameters, corrected other problems, see documentation.

Viewing 1 replies (of 1 total)
  • The topic ‘parametes not escaped before request’ is closed to new replies.