Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thedavidmeister’s picture

Status: Active » Needs review
FileSize
6.43 KB

patch

jibran’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix, +Novice

I have done quick search unable to find any more occurrence of drupal_strip_dangerous_protocols so RTBC.

webchick’s picture

Title: Convert all core calls to drupal_strip_dangerous_protocols() to \Drupal\Component\Utility\Url::stripDangerousProtocols() » Convert all core calls to drupal_strip_dangerous_protocols() to \\Drupal\\Component\\Utility\\Url::stripDangerousProtocols()
Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs reroll

Patch no longer applies.

thedavidmeister’s picture

Status: Needs work » Needs review
FileSize
6.43 KB

reroll

thedavidmeister’s picture

Status: Needs review » Reviewed & tested by the community

RTBC as per #2

jibran’s picture

Issue tags: -Needs reroll

RTBC +1

thedavidmeister’s picture

Title: Convert all core calls to drupal_strip_dangerous_protocols() to \\Drupal\\Component\\Utility\\Url::stripDangerousProtocols() » Remove/deprecate calls to drupal_strip_dangerous_protocols() use \\Drupal\\Component\\Utility\\Url::stripDangerousProtocols()
Status: Reviewed & tested by the community » Needs work

Let's actually deprecate drupal_strip_dangerous_protocols()

Cyberschorsch’s picture

Status: Needs work » Reviewed & tested by the community

I don't seem to find anymore occurrence of drupal_strip_dangerous_protocols() so this should be fixed?

webchick’s picture

Status: Reviewed & tested by the community » Needs work

Sorry, doesn't seem to apply. :(

Cyberschorsch’s picture

Status: Needs work » Needs review
FileSize
6.47 KB

I rerolled the patch.

jibran’s picture

Title: Remove/deprecate calls to drupal_strip_dangerous_protocols() use \\Drupal\\Component\\Utility\\Url::stripDangerousProtocols() » Remove / deprecate calls to drupal_strip_dangerous_protocols() use \Drupal\Component\Utility\Url::stripDangerousProtocols()
Status: Needs review » Reviewed & tested by the community

Back to RTBC.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.

TR’s picture

Issue summary: View changes
Issue tags: +Needs change record

This needs to be mentioned somewhere in a change record.