Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292268

DrupalWebTestCase::drupalGetToken() does not add hash salt

$
0
0

Tokens are unusable, because DrupalWebTestCase::drupalGetToken() does not use a hash salt, while drupal_get_token() does. This bug makes it impossible to test code that uses tokens.

Core does not use this method. However, I have a contrib patching waiting that does: #1550940: Extend and test payment permissions


Viewing all articles
Browse latest Browse all 292268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>