SECURITY-FAILURE when send mail in ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SECURITY-FAILURE when send mail in ofbiz

anh vu kieu
I use sendMailFromTemplateSetting service to send mail in ofbiz, but the
system log validation error as following:









*WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML
input:context=content, errors=[The <b>html</b> tag has been filtered for
securityreasons. The contents of the tag will remain in place., The
<b>head</b> tag has been filtered for security reasons. The contents of the
tag will remain inplace., The <b>meta</b> tag has been filtered for
security reasons. Thecontents of the tag will remain in place., The
<b>title</b> tag has beenfiltered for security reasons. The contents of the
tag will remain inplace., The <b>style</b> tag has been filtered for
security reasons. Thecontents of the tag will remain in place., The
<b>body</b> tag has beenfiltered for security reasons. The contents of the
tagwill remain in place.*

And the css file that I include in *<head>* tag, i.e. <link
rel="stylesheet" href="/assets/css/bootstrap.min.css" type="text/css">,
have no effect!!
How can I fix this error?
Reply | Threaded
Open this post in threaded view
|

Re: SECURITY-FAILURE when send mail in ofbiz

Jacques Le Roux
Administrator
Which Release.revision are you using?

BTW,please use rather user ML for such questions, see why here http://ofbiz.apache.org/mailing-lists.html
You will also get a better support and it's more fair to share with everybody

The wider the audience the better the answers you might get

Thanks

Jacques

Le 31/10/2014 10:40, anh vu kieu a écrit :

> I use sendMailFromTemplateSetting service to send mail in ofbiz, but the
> system log validation error as following:
>
>
>
>
>
>
>
>
>
> *WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML
> input:context=content, errors=[The <b>html</b> tag has been filtered for
> securityreasons. The contents of the tag will remain in place., The
> <b>head</b> tag has been filtered for security reasons. The contents of the
> tag will remain inplace., The <b>meta</b> tag has been filtered for
> security reasons. Thecontents of the tag will remain in place., The
> <b>title</b> tag has beenfiltered for security reasons. The contents of the
> tag will remain inplace., The <b>style</b> tag has been filtered for
> security reasons. Thecontents of the tag will remain in place., The
> <b>body</b> tag has beenfiltered for security reasons. The contents of the
> tagwill remain in place.*
>
> And the css file that I include in *<head>* tag, i.e. <link
> rel="stylesheet" href="/assets/css/bootstrap.min.css" type="text/css">,
> have no effect!!
> How can I fix this error?
>
Reply | Threaded
Open this post in threaded view
|

Re: SECURITY-FAILURE when send mail in ofbiz

anh vu kieu
thanks Jacques, I posted my question to [hidden email] and the revision
I'm using is ofbiz trunk

2014-11-02 20:44 GMT+07:00 Jacques Le Roux <[hidden email]>:

> Which Release.revision are you using?
>
> BTW,please use rather user ML for such questions, see why here
> http://ofbiz.apache.org/mailing-lists.html
> You will also get a better support and it's more fair to share with
> everybody
>
> The wider the audience the better the answers you might get
>
> Thanks
>
> Jacques
>
> Le 31/10/2014 10:40, anh vu kieu a écrit :
>
>> I use sendMailFromTemplateSetting service to send mail in ofbiz, but the
>> system log validation error as following:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML
>> input:context=content, errors=[The <b>html</b> tag has been filtered for
>> securityreasons. The contents of the tag will remain in place., The
>> <b>head</b> tag has been filtered for security reasons. The contents of
>> the
>> tag will remain inplace., The <b>meta</b> tag has been filtered for
>> security reasons. Thecontents of the tag will remain in place., The
>> <b>title</b> tag has beenfiltered for security reasons. The contents of
>> the
>> tag will remain inplace., The <b>style</b> tag has been filtered for
>> security reasons. Thecontents of the tag will remain in place., The
>> <b>body</b> tag has beenfiltered for security reasons. The contents of the
>> tagwill remain in place.*
>>
>> And the css file that I include in *<head>* tag, i.e. <link
>> rel="stylesheet" href="/assets/css/bootstrap.min.css" type="text/css">,
>> have no effect!!
>> How can I fix this error?
>>
>>