ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
errorreport.php File Reference

Go to the source code of this file.

Variables

 $config = SimpleSAML_Configuration::getInstance()
 
if($_SERVER['REQUEST_METHOD'] !=='POST') $reportId = (string) $_REQUEST['reportId']
 
 $email = (string) $_REQUEST['email']
 
 $text = htmlspecialchars((string) $_REQUEST['text'])
 
if(!preg_match('/^ $data [0-9a-f]{8}$/', $reportId)) = null
 
 try
 
catch(Exception $e) if($data===null) foreach($data as $k=> $v) $message
 
if(!preg_match('/\s/', $email) &&strpos($email, '@') !==false) else
 
 $from = $config->getString('sendmail_from', null)
 
if($from===null|| $from==='') if($from==='no-reply @example.org' && $replyto !==null) $toAddress = $config->getString('technicalcontact_email', 'na@example.org')
 

Variable Documentation

◆ $config

Definition at line 5 of file errorreport.php.

◆ $data

$data = null

Definition at line 25 of file errorreport.php.

◆ $email

$email = (string) $_REQUEST['email']

Definition at line 17 of file errorreport.php.

◆ $from

$from = $config->getString('sendmail_from', null)

Definition at line 113 of file errorreport.php.

◆ $message

$message

Definition at line 54 of file errorreport.php.

◆ $reportId

if ( $_SERVER[ 'REQUEST_METHOD'] !=='POST') $reportId = (string) $_REQUEST['reportId']

Definition at line 16 of file errorreport.php.

Referenced by SimpleSAML_Error_Error\saveError().

◆ $text

$text = htmlspecialchars((string) $_REQUEST['text'])

Definition at line 18 of file errorreport.php.

Referenced by __(), ILIAS\UI\Component\Test\TestComponent\__construct(), assAnswerMatchingTerm\__construct(), ILIAS\UI\Component\Test\JSTestComponent\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), sspmod_multiauth_Auth_Source_MultiAuth\__construct(), ilMDEditorGUI\__showLanguageSelect(), TCPDF_STATIC\_AES(), TCPDF_STATIC\_AESnopad(), phpseclib\Crypt\RC4\_crypt(), ilAdvancedMDRecord\_getAssignableObjectTypes(), phpseclib\Crypt\Base\_pad(), TCPDF_STATIC\_RC4(), phpseclib\Crypt\Base\_unpad(), ilMemberAgreementGUI\addCustomFields(), ilADTMultiTextFormBridge\addToForm(), ilADTTextSearchBridgeSingle\addToForm(), ilADTTextFormBridge\addToForm(), getid3_png\Analyze(), TCPDF\Annotation(), ilPCParagraph\autoLinkGlossaries(), ilAssImagemapQuestionFeedback\buildAnswerOptionLabel(), ilDclTextSelectionFieldRepresentation\buildOptionsInput(), ilDclDateSelectionFieldRepresentation\buildOptionsInput(), PhpOffice\PhpSpreadsheet\Helper\Html\buildTextRun(), assClozeTest\cleanQuestiontext(), PhpOffice\PhpSpreadsheet\Helper\Html\cleanWhitespace(), Parser\closeList(), assTextQuestion\countLetters(), Parser\createAssocArgs(), assErrorText\createErrorTextExport(), assErrorText\createErrorTextOutput(), d__(), soap_parser\decode_entities(), dnp__(), dp__(), ilExSubmissionTextGUI\editAssignmentTextObject(), TCPDF\endSVGElementHandler(), getid3_handler\error(), ilDBPdo\escapePattern(), ilQTIMaterial\extractText(), Parser\fetchScaryTemplateMaybeFromCache(), ilBlockGUI\fillDetailRow(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderExcel(), ilUserFieldSettingsTableGUI\fillRow(), ilSCTaskTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), DifferenceEngine\generateDiffBody(), ilRSSButtonGUI\get(), ilGlyphGUI\get(), ilObjectPermissionStatusGUI\getAccessStatusInfoData(), getBaseURL(), assErrorText\getBestSelection(), ilObjPortfolioGUI\getCreateInfoMessage(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilCourseLearningHistoryProvider\getEntries(), ilSkillLearningHistoryProvider\getEntries(), ilCertificateLearningHistoryProvider\getEntries(), ilExerciseManagementGUI\getEvaluationModal(), ilBlogExerciseGUI\getExerciseInfo(), ilPortfolioExerciseGUI\getExerciseInfo(), ilPageObject\getFirstParagraphText(), ilLuceneAdvancedSearchFields\getFormElement(), Title\getFullText(), ilTrSummaryTableGUI\getItems(), sspmod_portal_Portal\getMenu(), ilNoteGUI\getNoteListHTML(), assAnswerCloze\getNumericValueFromText(), ilCalendarBlockGUI\getOverview(), SurveySingleChoiceQuestionGUI\getParsedAnswers(), SurveyMultipleChoiceQuestionGUI\getParsedAnswers(), SurveyMatrixQuestionGUI\getParsedAnswers(), ilObjSurvey\getParticipantTextResults(), ilNoteGUI\getPDNoteHTML(), PhpOffice\PhpSpreadsheet\RichText\RichText\getPlainText(), assErrorText\getPointsForSelectedPositions(), SurveyMatrixQuestionGUI\getPrintView(), ilTestQuestionHeaderBlockBuilder\getQuestionInfoHTML(), assOrderingHorizontal\getRTETextWithMediaObjects(), assErrorText\getRTETextWithMediaObjects(), assFlashQuestion\getRTETextWithMediaObjects(), assImagemapQuestion\getRTETextWithMediaObjects(), assSingleChoice\getRTETextWithMediaObjects(), assFileUpload\getRTETextWithMediaObjects(), assMultipleChoice\getRTETextWithMediaObjects(), assOrderingQuestion\getRTETextWithMediaObjects(), assFormulaQuestion\getRTETextWithMediaObjects(), assTextQuestion\getSolutionSubmit(), ilExPeerReviewGUI\getSubmissionContent(), Title\getSubpageUrlForm(), ilNote\getText(), PhpOffice\PhpSpreadsheet\Shared\Font\getTextWidthPixelsExact(), ilObjSurveyGUI\getUserResultsPlain(), ilPCParagraph\handleAjaxContent(), ilPCParagraph\handleAjaxContentPost(), ilLMPresentationGUI\handleCodeParagraph(), HTMLPurifier_Injector_AutoParagraph\handleText(), PHPMailer\PHPMailer\PHPMailer\has8bitChars(), phpseclib\Crypt\Hash\hash(), HTMLPurifier_Printer_HTMLDefinition\heavyHeader(), Sanitizer\hexCharReference(), TCPDF\hyphenateText(), HTMLPurifier_Encoder\iconv(), HTML5TreeConstructer\inColumnGroup(), ilExSubmissionTextGUI\initAssignmentTextForm(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilSetupGUI\initBasicSettingsForm(), ilLearningProgressGUI\initCollectionManualForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjUserFolderGUI\initFormGeneralSettings(), ilCASSettingsGUI\initFormSettings(), ilObjMediaCastSettingsGUI\initFormSettings(), ilObjCourseGUI\initInfoEditor(), HTML5TreeConstructer\initPhase(), ilOpenIdConnectSettingsGUI\initSettingsForm(), ilPCParagraph\input2xmlReplaceLists(), ilPageObjectGUI\insertPageToc(), HTML5TreeConstructer\insertText(), HTML5TreeConstructer\inTable(), assKprimChoice\isComplete(), ilWACException\isNonEmptyString(), ilFileDelivery\isNonEmptyString(), Title\isValidMoveTarget(), ilPreviewGUI\jsonSafeString(), Twig_Lexer\lexData(), Twig_Lexer\lexRawData(), ilPCParagraph\linkTermsInDom(), PhpOffice\PhpSpreadsheet\Reader\Ods\load(), DifferenceEngine\localiseLineNumbers(), Parser\magicLinkCallback(), ilMWFakery\makeExternalLink(), ilWikiUtil\makeLink(), ilMWFakery\markNoConversion(), Twig_Lexer\moveCursor(), n__(), Title\newFromRedirect(), Title\newFromText(), HTMLPurifier_PercentEncoder\normalize(), PHPMailer\PHPMailer\PHPMailer\normalizeBreaks(), np__(), p__(), Symfony\Component\Yaml\Parser\parseBlockScalar(), Sabre\Xml\Reader\parseInnerTree(), ilSCORMTrackingItemsTableGUI\parseValue(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilLPTableBaseGUI\parseValue(), ilTestPlayerAbstractGUI\populateNavWhenChangedModal(), ilLPStatus\preloadListGUIData(), ilObjForumAccess\prepareMessageForLists(), ilForum\prepareText(), sspmod_statistics_DateHandler\prettyHeader(), ilWikiUtil\processInternalLinks(), assQuestionImport\processNonAbstractedImageReferences(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHyperLink(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabelSst(), PhpOffice\PhpSpreadsheet\Reader\Xls\readTextObject(), ILIAS\UI\Component\Test\Renderer\render(), ilLearningHistoryTimelineItem\render(), Slim\Handlers\AbstractError\renderThrowableAsText(), TCPDF\replaceMissingChars(), Parser\replaceSection(), HTML5TreeConstructer\rootElementPhase(), ilContainerGUI\savePageContentObject(), ilTestScoringGUI\saveReturnManScoringParticipantScreen(), ilUserProfilePromptDataGateway\saveSettings(), ilObjContentObjectGUI\saveTooltips(), assTextQuestion\saveWorkingData(), php4DOMElement\set_content(), php4DOMNode\set_content(), ilTestEvaluationData\setFilter(), ilOpenIdConnectSettings\setLoginElementText(), Parser\setOutputType(), ilBlockGUI\setPreviousNextLinks(), IMSGlobal\LTI\ToolProvider\ContentItem\setText(), ilPCParagraph\setText(), ilRadiusSettingsGUI\settings(), ilGlossaryDefinition\shortenShortText(), ilExSubmissionTextGUI\showAssignmentTextObject(), ilRegistrationGUI\showCustomFields(), ilAdvancedMDRecordGUI\showECSStart(), ilSCORM2004ScoGUI\showExportList(), ilPasswordAssistanceGUI\showMessageForm(), ilLMPresentationGUI\showPrintViewSelection(), ilLearningProgressGUI\showtlt(), PHPMailer\PHPMailer\PHPMailer\stripTrailingWSP(), PhpOffice\PhpSpreadsheet\Calculation\TextData\Replace\substitute(), PhpOffice\PhpSpreadsheet\Calculation\TextData\SUBSTITUTE(), assFormulaQuestion\substituteVariables(), TextInputTest\test_implements_factory_interface(), FieldFactoryTest\test_implements_factory_interface(), TextInputTest\test_render(), TagInputTest\test_render(), TextInputTest\test_render_error(), TagInputTest\test_render_error(), TextInputTest\test_render_no_byline(), TagInputTest\test_render_no_byline(), TextInputTest\test_render_required(), TagInputTest\test_render_required(), TextInputTest\test_render_value(), TagInputTest\test_render_value(), TextInputTest\test_stripsTags(), TextareaTest\test_stripsTags(), TextInputTest\test_value_required(), CleanUpTest\testAscii(), CleanUpTest\testBomRegression(), CleanUpTest\testChunkRegression(), CleanUpTest\testForbiddenRegression(), ILIAS\Filesystem\Stream\StreamTest\testGetContentsWhichShouldSucceed(), CleanUpTest\testHangulRegression(), CleanUpTest\testInterposeRegression(), CleanUpTest\testLatin(), CleanUpTest\testLatinNormal(), CleanUpTest\testNull(), CleanUpTest\testOverlongRegression(), Twig_Tests_Extension_CoreTest\testRandomFunctionOnNonUTF8String(), ILIAS\Filesystem\Stream\StreamTest\testReadWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testReadWithZeroLengthWhichShouldSucceed(), CleanUpTest\testSurrogateRegression(), ILIAS\Filesystem\Stream\StreamTest\testToStringWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testToStringWithErrorWhichShouldSucceed(), HTMLPurifier_Printer\text(), TCPDF\TextField(), assErrorText\toJSON(), SimpleSAML\Locale\Translate\translatePluralGettext(), SimpleSAML\Locale\Translate\translateSingularGettext(), HTMLPurifier_Encoder\unsafeIconv(), StripState\unstripBoth(), StripState\unstripGeneral(), StripState\unstripNoWiki(), ilExSubmissionTextGUI\updateAssignmentTextObject(), ilPCDataTableGUI\updateJS(), ilGlossaryDefinition\updateShortText(), PhpOffice\PhpSpreadsheet\Calculation\Web\Service\urlEncode(), ilObjAuthSettingsGUI\validateApacheAuthAllowedDomains(), getid3_handler\warning(), ILIAS\UI\Implementation\Component\Item\Item\withLeadText(), ILIAS\UI\Implementation\Component\Chart\ProgressMeter\Standard\withMainText(), ILIAS\UI\Implementation\Component\Chart\ProgressMeter\Standard\withRequiredText(), PhpOffice\PhpSpreadsheet\Shared\XMLWriter\writeRawData(), ilPCParagraph\xml2outputReplaceLists(), and Sabre\DAV\Xml\Property\Complex\xmlDeserialize().

◆ $toAddress

if ( $from===null||$from==='') if ( $from==='no-reply @example.org' &&$replyto !==null) $toAddress = $config->getString('technicalcontact_email', 'na@example.org')

Definition at line 127 of file errorreport.php.

◆ else

if (!preg_match('/\s/', $email) &&strpos( $email, '@') !==false) else
Initial value:
{
$replyto = null

Definition at line 109 of file errorreport.php.

◆ try

try
Initial value:
{
$session
static getSessionFromRequest()
Retrieves the current session.
Definition: Session.php:241

Definition at line 26 of file errorreport.php.