[RSS Feed/News] AnalyzeUsage::analyzeUnfurlUsage is very fragile

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
XF\BbCode\ProcessorAction\AnalyzeUsage::analyzeUnfurlUsage is written as a final hook, meaning it works on final text and not per tag via a tag hook which has access to parsed options. This causes the code to need to extract/detect the unfurl attribute and url contents twice.

This results in the unfurl format in the analyzer being very fragile, and doesn't really matched how unfurl handling works elsewhere.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom