You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a URL resources (mod url) with invalid external link "hhttps://yoursite.com" (intentional double 'h' in 'hhttps' )
Set Display setting as 'Open'
Save the URL
Click on the mod URL
Confirm that it rediect to: 'https://yoursite.com/mod/url/<a></a>'
Error when running 'sudo -u www-data php admin/tool/crawler/cli/crawler.php --verbose=2'
Crawling https://<moodlesite>/mod/url/view.php?id=3878052 => https:/<moodlesite>/mod/url/<a></a>/ (404)
Default exception handler: error/invalidpersistenterror Debug: redirect: Data submitted is invalid
Error code: invalidpersistenterror
$a contents: Data submitted is invalid
* line 528 of /lib/classes/persistent.php: core\invalid_persistent_exception thrown
* line 672 of /admin/tool/crawler/classes/robot/crawler.php: call to core\persistent->update()
* line 577 of /admin/tool/crawler/classes/robot/crawler.php: call to tool_crawler\robot\crawler->crawl()
* line 81 of /admin/tool/crawler/lib.php: call to tool_crawler\robot\crawler->process_queue()
* line 55 of /admin/tool/crawler/cli/crawler.php: call to tool_crawler_crawl()
The text was updated successfully, but these errors were encountered:
Step to replicate:
'https://yoursite.com/mod/url/<a></a>'
Error when running 'sudo -u www-data php admin/tool/crawler/cli/crawler.php --verbose=2'
The text was updated successfully, but these errors were encountered: