diff --git a/codepot/src/codepot/views/code_folder.php b/codepot/src/codepot/views/code_folder.php index b3307356..e87b43d9 100644 --- a/codepot/src/codepot/views/code_folder.php +++ b/codepot/src/codepot/views/code_folder.php @@ -1474,7 +1474,7 @@ $this->load->view ( if (isset($login['id']) && $login['id'] != '') { print ''; - printf ('', $rownum, addslashes($f['name']), $rownum); + printf ('', $rownum, htmlspecialchars($f['name']), $rownum); print ''; } print ''; @@ -1507,7 +1507,7 @@ $this->load->view ( if (isset($login['id']) && $login['id'] != '') { print ''; - printf ('', $rownum, addslashes($f['name']), $rownum); + printf ('', $rownum, htmlspecialchars($f['name']), $rownum); print ''; } print ''; diff --git a/codepot/src/codepot/views/file_show.php b/codepot/src/codepot/views/file_show.php index 5b676f49..4ca36522 100644 --- a/codepot/src/codepot/views/file_show.php +++ b/codepot/src/codepot/views/file_show.php @@ -698,8 +698,8 @@ $this->load->view (
- lang->line('Tag'); ?>: - lang->line('Name'); ?>: + lang->line('Tag'); ?>: + lang->line('Name'); ?>:
@@ -739,7 +739,7 @@ $this->load->view ( print ''; printf ('%s', $i, htmlspecialchars($f->filename)); print ''; - printf ('', $i, addslashes($f->description)); + printf ('', $i, htmlspecialchars($f->description)); print ''; } ?> diff --git a/codepot/src/codepot/views/issue_show.php b/codepot/src/codepot/views/issue_show.php index 48c9213d..5dac175d 100644 --- a/codepot/src/codepot/views/issue_show.php +++ b/codepot/src/codepot/views/issue_show.php @@ -1158,7 +1158,7 @@ function print_issue_state ($con, $issue, $old, $issue_type_array, $issue_status { print "
"; printf ('%s', $i, $this->lang->line('Preview')); - printf ('', $i, addslashes($new->sno)); + printf ('', $i, htmlspecialchars($new->sno)); printf ('', $i, $escaped_comment); printf ('
', $i); print '
'; @@ -1196,7 +1196,9 @@ function print_issue_state ($con, $issue, $old, $issue_type_array, $issue_status 'id="issue_show_edit_type" disabled="disabled"' ); ?> - ' value='summary); ?>'/> + + summary); ?> + ' value="summary); ?>"/>
@@ -1238,7 +1240,7 @@ function print_issue_state ($con, $issue, $old, $issue_type_array, $issue_status print ''; printf ('%s', $i, htmlspecialchars($f->filename)); print ''; - printf ('', $i, addslashes($f->description)); + printf ('', $i, htmlspecialchars($f->description)); print ''; } ?> diff --git a/codepot/src/codepot/views/user_settings.php b/codepot/src/codepot/views/user_settings.php index a3b63b52..de1290e6 100644 --- a/codepot/src/codepot/views/user_settings.php +++ b/codepot/src/codepot/views/user_settings.php @@ -83,7 +83,7 @@ $this->load->view (
lang->line('Oneliner about me').': ', 'user_summary')?> - +
diff --git a/codepot/src/codepot/views/wiki_edit.php b/codepot/src/codepot/views/wiki_edit.php index 0d55e37a..515eff29 100644 --- a/codepot/src/codepot/views/wiki_edit.php +++ b/codepot/src/codepot/views/wiki_edit.php @@ -533,7 +533,7 @@ $this->load->view ( - +
diff --git a/codepot/src/codepot/views/wiki_editx.php b/codepot/src/codepot/views/wiki_editx.php index fc5b8955..ece8b46b 100644 --- a/codepot/src/codepot/views/wiki_editx.php +++ b/codepot/src/codepot/views/wiki_editx.php @@ -592,7 +592,7 @@ $this->load->view (