Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Views doesn't link correctly to files with ampersand in their name. That's because the URL is escaped twice.
I'm attaching a patch. I removed the call to check_url(), because it's done in l().
Comment | File | Size | Author |
---|---|---|---|
views_upload.inc_.diff | 1.22 KB | mooffie | |
Comments
Comment #1
mikepetersonwi CreditAttribution: mikepetersonwi commentedI tried applying the patch and received the following:
I'm a little new to patching and am not sure if it's me or the patch file.
Please advise,
Mikep
Comment #2
mikepetersonwi CreditAttribution: mikepetersonwi commentedI manually made the changes to the views_upload file and still get the same result. Any suggestions?
Mikep
Comment #3
newbuntu CreditAttribution: newbuntu commentedcan't use Ampersand in views menu title. May be it's related.
If I enter "A&B" in views "menu title", it shows up "A&B" in the tapped menu. I tried a few combinations to no avail.
I tested regular menu item like 'a&b' (not associated with any views), it worked correctly.
Is there anything I can do (hack) to make it show up correctly?
Comment #4
sunPlease do not hi-jack existing issues.
Comment #5
esmerel CreditAttribution: esmerel commentedAt this time, only security fixes will be made to the 5.x version of Views.