- Status changed to Fixed
over 1 year ago 4:01pm 8 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Currently, when a webform is submitted to through the webform_rest_submit post route, the webform saves the submitted uri as '/webform/' . $webform_data['webform_id'] . '/api'
. This is not really useful if a lot of pages are submitting the same form thus making the same post request.
This is noticeable if you are using the [webform_submission:source-url]
token in a webform email handler or if you are viewing webform submissions.
I am proposing that the webform uri value gets updated to equal the referer. This will become more helpful when view submissions that could be posted from different pages.
The proposed uri field would be $this->request->getCurrentRequest()->headers->get('referer')
.
Fixed
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.