Posts with potentially unescaped HTML tags

3

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

SELECT top 384 'http://stackoverflow.com/posts/'+cast(PostId as varchar(11))+'/edit'
FROM PostHistory
WHERE (PostHistoryTypeId=2 or PostHistoryTypeId=5)
 and PostId>=35922413
-- and UserId=1016716
-- and PostID>=5157596 and UserId=22656
 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/]>[.,;?! ):]%'
)
GROUP BY PostId
ORDER BY PostId ASC

Enter Parameters

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