Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
- Fix an Internal Server Error when unacceptable characters (such as
© 2019 GitHub, Inc.
) are submitted inCloudServerTemplate
add form:"PHP message: Uncaught PHP Exception Drupal\Component\Serialization\Exception\InvalidDataTypeException: "Unable to parse at line 26 (near "© 2019 GitHub, Inc.")." at /var/www/html/web/core/lib/Drupal/Component/Serialization/YamlSymfony.php line 40"
Comment | File | Size | Author |
---|---|---|---|
#2 | 3085603.patch | 1.01 KB | baldwinlouie |
Comments
Comment #2
baldwinlouie CreditAttribution: baldwinlouie commentedAttach patch that adds constraint validation to the field_detail field for k8s server template.
Comment #3
yas@baldwinlouie
Thank you for fixing the issue. I tested the following YAML file that resulted in an Internal Server Error:
Now it doesn't give us the error. I'll merge the patch to
8.x-2.x
and close this issue asFixed
.Comment #5
yasComment #6
yas