Page MenuHomePhabricator

Display diffs and permalinks in an iframe in /ask
Closed, ResolvedPublic

Description

extend the ask.html template to provide a different field which contains a URL to be displayed in an iframe so you can show diffs and permalinks

Event Timeline

prnk28 created this task.Jun 30 2016, 4:56 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 30 2016, 4:56 PM

This involves running escape() on /ask, /answer, and /recommend POST
inputs, and then using "safe" in the templates for output, and I think you
will want to search for URLs and make them <a href=... clickable too.

Jsalsman triaged this task as High priority.Jul 2 2016, 11:32 PM
Jsalsman renamed this task from Display diffs in an iframe in /ask to Display diffs and permalinks in an iframe in /ask.Jul 3 2016, 12:56 AM
Jsalsman updated the task description. (Show Details)

@prnk28: If this is done, is there a reason to not change the task status to resolved?