Sanity check "stashedtexthash" param before checking memcached
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 31 Aug 2017 21:35:17 +0000 (14:35 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 31 Aug 2017 21:35:17 +0000 (14:35 -0700)
commit23cd890fc909dc344c3ff48d4eeb0d30e64c5b69
tree47920fd551c1ec571e51ab7a6dd73ec04a0beb39
parentc65120906674e6fbc540946428d26d32c0acd25b
Sanity check "stashedtexthash" param before checking memcached

The makeKey() method should do escaping and shortening, but it
is safest and clearer to not rely on that.

Change-Id: Ia4a95e0bb12074d141ddcca2089b920403cab100
includes/api/ApiStashEdit.php