You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decode HTML entities in API output, or stop encoding on input first? #482
BaseObject::bind() runs htmlentities() on every string, so text is stored HTML-encoded. The proposal decodes on output for v1, which keeps storage consistent with the UI. The cleaner alternative is to stop encoding in bind() and escape in the templates, but that is a large, XSS-sensitive change across every view, and existing data would need converting.
Activity