Moodle

sometimes visible backslash escape in user name with apostrophe (e.g. O'Reilly)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6.2
  • Fix Version/s: 2.0
  • Component/s: General
  • Labels:
    None
  • Environment:
    All

Description

If you go to this user's page on Moodle.org:

http://moodle.org/user/view.php?id=142116&course=5

You can see a backslash escaping the apostrophe of the surname in the page title in the window bar, the breadcrumb trail and several other places. The name in big letters at the top of the page displays as expected.

If the user has actually typed in a backslash and the apostrophe (possible though unlikely) then it should be displayed everywhere, if not then it shouldn't be getting added anywhere.

Issue Links

Activity

Hide
Dan Poltawski added a comment -

It looks to me like this profile has a \ in it actually. I can still reproduce it if I enter the slash

Show
Dan Poltawski added a comment - It looks to me like this profile has a \ in it actually. I can still reproduce it if I enter the slash
Hide
Dan Poltawski added a comment -

Yep, stripslashes_safe in print_heading()

Show
Dan Poltawski added a comment - Yep, stripslashes_safe in print_heading()
Hide
Petr Škoda (skodak) added a comment -

all backslashing issues should be finally fixed in 2.0,
thanks for the report

Show
Petr Škoda (skodak) added a comment - all backslashing issues should be finally fixed in 2.0, thanks for the report

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: