Opened 7 years ago

Closed 6 years ago

#2272 closed defect (bug) (duplicate)

about box html translated to entities

Reported by: midrangeman Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.0
Severity: normal Keywords: has-patch
Cc:

Description

I just tried to update the "About yourself" box on my user profile and found that the HTML I include was 'decomposed' (don't know what the proper term is) ... basically, the HTML was translated to text and the html brackets were converted to entities.

Attachments (1)

2272.diff (642 bytes) - added by davidhouse 7 years ago.

Download all attachments as: .zip

Change History (9)

  • Milestone set to 2.1
  • Severity changed from normal to enhancement

In other words, we don't allow HTML in the profile pages.

  • Severity changed from enhancement to normal

It used to be allowed. All the profiles on my site currently have HTML in the profiles but now, when they are edited, they are screwed up.

If the HTML isn't going to be allowed in the profile, then update the edit function to strip html from the profile before saving it.

  • Keywords bg|has-patch added

comment:5   matt6 years ago

  • Milestone changed from 2.1 to 2.2
  • Keywords has-patch added; bg|has-patch removed
  • Milestone changed from 2.2 to 2.3

It might be good to check if the user that's editing the about box has unfiltered_html or so on. But that might get complicated.

  • Milestone 2.3 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #3069

Note: See TracTickets for help on using tickets.