# Cross scripting validators

**URL:** <https://discourse.hibernate.org/t/cross-scripting-validators/5085>\
**Category:** Hibernate Validator\
**Created:** [February 18, 2021, 2:39pm UTC](https://discourse.hibernate.org/t/cross-scripting-validators/5085 "2021-02-18T14:39:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tester123](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/tester123/32/1394_2.png) [@tester123](https://discourse.hibernate.org/u/tester123)\
**Post date:** [February 18, 2021, 2:39pm UTC](https://discourse.hibernate.org/t/cross-scripting-validators/5085/1 "2021-02-18T14:39:04Z")

</div>

Hi

I need hibernate validation for “multipart” file and for the code below:

“return new responseentity(this, httpstatus.internalservererror)”

i appreciate your help

-regards

---

<div class="post-metadata">

**Author:** ![tester123](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/tester123/32/1394_2.png) [@tester123](https://discourse.hibernate.org/u/tester123)\
**Post date:** [February 18, 2021, 4:13pm UTC](https://discourse.hibernate.org/t/cross-scripting-validators/5085/2 "2021-02-18T16:13:21Z")

</div>

i am getting “shared sink” error ate this code:

public Responseentitytest(){  
“return new responseentity(this, httpstatus.internalservererror)”  
}
