Page MenuHomePhabricator

Raw TemplateStyles is displayed as a text in the infocard heading on iOS application
Closed, ResolvedPublic

Description

In Ruwiki we use TemplateStyles in many sport-related infocards to align icons in the heading. Seems like mobile application uses some kind of strip_tags to show heading contents from infocard in collapsible block, but doesn't sanitize and cutoff tag <style> properly.

Examples:
https://ru.m.wikipedia.org/wiki/Вудс,_Тайгер
https://ru.m.wikipedia.org/wiki/Зидан,_Зинедин

IMG_1163.PNG (2×1 px, 616 KB)
IMG_1162.PNG (2×1 px, 2 MB)
IMG_1161.PNG (2×1 px, 575 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
LGoto triaged this task as Low priority.Dec 17 2019, 7:17 PM
LGoto moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App-Backlog board.
ABorbaWMF subscribed.

I am still seeing this on 6.6.0 (1706)

IMG_C3688347325F-1.jpeg (2×2 px, 1 MB)

JMinor claimed this task.
JMinor subscribed.

This is now in beta and should be in the app store in the next week or two.