- Issue created by @fdelgadobdb
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Ah this was a recent symfony security update
We can update the widget to trim the value, but I would argue the trim should happen in LinkItem in coreMoving this the core queue
- 🇮🇳India arunsahijpal
Hi @larowlan,
I've checked this on the latest drupal 11.x version and there no widget like Link(with attributes), the one which present is Link widget,
Which is not causing any issue on giving spaces at the end of a link.
Could you please check it once. - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
LinkItem is where the trim should occur, so it supports API clients too, not just forms
- 🇮🇳India arunsahijpal
Okay @larowlan,
I am thinking to add presave function in Linkitem class which will trim the URI.
Will it be a good approach? - Merge request !10362Issue #3488937: Added presave method for trimming URI. → (Open) created by arunsahijpal
- 🇮🇳India arunsahijpal
@larowlan
I've added the presave method, please check it. - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Does this still occur now that 🐛 Drupal core update + update to symfony/http-foundation causes certain views blocks to cause a "client error" and breaks page display. Active is in?
- Status changed to Closed: cannot reproduce
24 days ago 11:05am 12 July 2025 - 🇳🇿New Zealand quietone
The question in #12 hasn't been answered in 8 months. So, I testing this on 11.x with and without the link_attribute module. I was not able to reproduce the problem using the steps in the issue summary.
Therefore, closing as cannot reproduce. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue → starting from "Install Drupal core".
Thanks!