Download & Extend

submission of blank textfields passes a WHITE SPACE in custom url redirect

Project:Webform
Version:7.x-3.18
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

I'm trying to use the webform to redirect to a page where the url determines the content of the page.

I have the custom url like this:

find-locations?country=%safe_key[countrylist]&category=All&store_name=&store_id=%value[storeid]&distance[distance]=100&distance[unit]=3959&distance[origin]=

if the store id field is blank, it spits out the following url with the space(%20) after "store_id=". See the URL it passed below:

find-locations?country=All&category=All&store_name=&store_id=%20&distance[distance]=100&distance[unit]=3959&distance[origin]=&sid=93

How do i fix this?

Comments

#1

Assigned to:debo7debo» Anonymous

#2

Priority:major» critical

#3

Title:submission of blank textfields passes a "space/%20" in custom url redirect» submission of blank textfields passes a WHITE SPACE in custom url redirect