Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- various components: fix inconsistencies in how user names
and team names are represented. In particular, edit_user_info_action.php was using htmlentities() on names; this led to double-encoding. The new rules: 1) no HTML tags allowed in either one. This is enforced silently, using strip_tags() 2) names are stored in the DB exactly as entered. They may contain chars like & and >. They may contain non-ASCII characters (use UTF-8 if you want them displayed correctly). None of these are not escaped. 3) When the names are put in XML (e.g. in scheduler reply or db_dump output) they are XML-escaped. This escapes <, &, and non-ASCII chars 4) The client leaves them in this form, and writes them that way in GUI RPCs and init_data.xml files. 5) The parsing of GUI RPC replies and init_data.xml files XML-unescapes them. svn path=/trunk/boinc/; revision=20647
- Loading branch information
1 parent
b94bc24
commit 6dd7401
Showing
5 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters