- Posts: 14
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
index.php -> EmailTemplates.php ->SurveyLanguageSetting.php -> LSActiveRecord.php -> CActiveRecord.php -> CModel.php -> (über createValidators()->rules() etc) -> LSYii_Validators.php -> $allowDataURI = false
public $allowDataUri = true;
//class LSYii_Validators..... protected function validateAttribute($object, $attribute) { if ($this->xssfilter) { //<------ XSS wird hier geprüft $object->$attribute = $this->xssFilter($object->$attribute); if ($this->isUrl) { if (self::isXssUrl($object->$attribute)) { $object->$attribute = ""; } } } // Note that URL checking only checks basic URL properties. As a URL can contain EM expression there needs to be a lot of freedom. if ($this->isUrl) { if ($object->$attribute == 'http://' || $object->$attribute == 'https://') { $object->$attribute = ""; } } if ($this->isLanguage) { $object->$attribute = $this->languageFilter($object->$attribute); } if ($this->isLanguageMulti) { $object->$attribute = $this->multiLanguageFilter($object->$attribute); } if (!$this->allowDataUri) { //<----- HIER $object->$attribute = $this->dataUriFilter($object->$attribute); }
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.