- πΊπΈUnited States dpagini
This patch fixes a very narrow use case of a space being encoded to %20, but does not address all encoded characters. For example, a ( or ) get encoded to %28 and %29. That makes me think there should be a more global solution to handle this...?
- Status changed to Needs work
over 1 year ago 10:06am 4 March 2023 - π¨πSwitzerland berdir Switzerland
Yes, maybe this should do a urldecode() like the hash issue, and should have a test.
The code can also be simplifed to use the entity api properly, you almost never want to use getValue() and instead loop over the items.
Plus, it doesn't really belong in save() but buildEntity(). Wondering if this shouldn't be handled in the core link widget, how does that behave in such a case?
- π²π°Macedonia meri_atanasovska
Patch #3 looks like a great solution, patch works perfectly.
- πΊπΈUnited States chrisjlock
Option to check additional hash instead of changing value saved to db.
- last update
over 1 year ago 62 pass, 2 fail - Open in Jenkins β Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.0 & MySQL 5.7 (--ignore-platform-reqs)last update
over 1 year ago 63 pass