Posts with Potentially Unescaped HTML Tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ethereum Meta

Q&A about the site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain

SELECT TOP 100
  'https://stackoverflow.com/posts/' + cast([Posts].ID as varchar(11)) + '/edit' AS [Edit Link],
  'https://stackoverflow.com/q/' + cast([Posts].ID as varchar(11)) AS [Post Link],
  AnswerCount,
  CASE WHEN AcceptedAnswerId IS NOT NULL THEN 'Yes' ELSE 'No' END AS [Accepted]
FROM PostHistory
JOIN [Posts] on [Posts].ID=PostHistory.PostID
WHERE (PostHistoryTypeId=2 or PostHistoryTypeId=5)
-- // The newest (since this week)
and PostID>=61567000
-- // These are older ones we haven't done yet
-- and PostID<=47984204 and PostID>=47884204
-- and UserId=1016716
-- and PostID>=5157596 and UserId=22656
 and Text like N'% <%'
 and (Text like N'%[a-z0-9/]> tag%'
 or Text like N'%[a-z0-9/]> element%'
 or Text like N'%[a-z0-9/]> start tag%'
 or Text like N'%[a-z0-9/]> end tag%'
 or Text like N'%[a-z0-9/]> or %'
 or Text like N'%[a-z,;:][ (]<[a-z]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z][a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z][a-z][a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z][a-z][a-z][a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
 or Text like N'%[a-z,;:][ (]<[a-z][a-z][a-z][a-z][a-z][a-z][a-z][a-z][a-z ][a-z0-9/]>[.,;?! ):]%'
)
ORDER BY [Posts].ID desc

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results