Skip to content

Commit

Permalink
Merge pull request #1190 from citrix/1175-bug-appfw-citrixadc_appfwpr…
Browse files Browse the repository at this point in the history
…ofile_csrftag_binding-not-working-for-changes

Updated delete method to escape the special character from query-parameter to url
  • Loading branch information
rohit-myali committed Aug 27, 2024
2 parents 38669c0 + 11c99f6 commit e811469
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func deleteAppfwprofile_csrftag_bindingFunc(d *schema.ResourceData, meta interfa
csrftag := idSlice[1]

args := make([]string, 0)
args = append(args, fmt.Sprintf("csrftag:%s", csrftag))
args = append(args, fmt.Sprintf("csrftag:%s", url.QueryEscape(csrftag)))
if val, ok := d.GetOk("csrfformactionurl"); ok {
args = append(args, fmt.Sprintf("csrfformactionurl:%s", url.QueryEscape(val.(string))))
}
Expand Down

0 comments on commit e811469

Please sign in to comment.