I have a small problem: when I try to export data to file with name, which contain token of contextual args with validation. Views handler contains variable 'validated_title' instead 'title', so the right way - use $handler->get_title().
Also get_title() function use check_plain().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

VasilyKraev’s picture

Title: Wrong way to get the title token, used in the file name » Fix title token, used in the file name
FileSize
747 bytes
Tom Robert’s picture

Status: Needs review » Reviewed & tested by the community

Thx this works. I needed this.

Steven Jones’s picture

Status: Reviewed & tested by the community » Fixed

Ah yes, good spot and thanks for the patch @VasilyKraev and the review @Tom Robert.

Status: Fixed » Closed (fixed)

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