Issue Details (XML | Word | Printable)

Key: MDL-6266
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: David Scotson
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 16/Aug/06 10:42 PM   Updated: 24/Sep/08 05:05 AM
Return to search
Component/s: General
Affects Version/s: 1.6.2
Fix Version/s: 2.0

Environment: All
Issue Links:
Dependency
 

Database: MySQL
URL: http://moodle.org/user/view.php?id=142116&course=5
Participants: Dan Poltawski, David Scotson and Petr Skoda
Security Level: None
Resolved date: 24/Sep/08
Affected Branches: MOODLE_16_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Poltawski added a comment - 29/Dec/07 09:55 PM
It looks to me like this profile has a \ in it actually. I can still reproduce it if I enter the slash

Dan Poltawski added a comment - 29/Dec/07 10:02 PM
Yep, stripslashes_safe in print_heading()

Petr Skoda added a comment - 24/Sep/08 05:05 AM
all backslashing issues should be finally fixed in 2.0,
thanks for the report