We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Str::placeholders
Hello,
I'm reporting an error I detected when I wanted to use in Bolt/Forms extension, parameters replyto_email and replyto_name.
replyto_email
replyto_name
The form returns me an error:
"An exception has been thrown during the rendering of a template ("Email "email" does not comply with addr-spec of RFC 2822.")."
After debugging, it turns out that the error comes from bolt/common, in the placeholders method.
placeholders
The regexp doesn't seem to be good at detecting the string sent to it.
Example to reproduce the bug:
notification: enabled: true debug: false debug_address: [email protected] # Email address used when debug mode is enabled debug_smtp: true subject: New contact subject_prefix: '[XXX]' to_name: 'John' to_email: '[email protected]' from_name: 'James' from_email: '[email protected]' replyto_name: lastname replyto_email: email
lastname: type: text fieldLabel: Nom options: required: true label: Lastname constraints: [ NotBlank ] attr: placeholder: Nom email: type: email fieldLabel: Email options: required: true constraints: [ NotBlank, Email ] attr: placeholder: Email
Here a pr to fix it (works for me)
The text was updated successfully, but these errors were encountered:
Replace regex in Str::placeholders (bolt#37)
4b88a10
No branches or pull requests
Hello,
I'm reporting an error I detected when I wanted to use in Bolt/Forms extension, parameters
replyto_email
andreplyto_name
.The form returns me an error:
"An exception has been thrown during the rendering of a template ("Email "email" does not comply with addr-spec of RFC 2822.")."
After debugging, it turns out that the error comes from bolt/common, in the
placeholders
method.The regexp doesn't seem to be good at detecting the string sent to it.
Example to reproduce the bug:
Here a pr to fix it (works for me)
The text was updated successfully, but these errors were encountered: