I added an image field to feedback and when I upload an image I end up with feedback locations like file/ajax/field_image/und/0/form-QdGn9xe3Qu7R6F-IodSUtLu7qAv_1szCQvquad-LYe8

To prevent this I store the location in the $form_state the first time the form loads.

Comments

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new778 bytes

Works as expected.
Rerolled without the sites/all/modules/feedback prefixes.

sun’s picture

Status: Reviewed & tested by the community » Fixed
StatusFileSize
new677 bytes

Thanks for reporting, reviewing, and testing! Committed attached patch.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.