Menu ▾ ▴

#303 NOCC display source code instead of form

Reproducible
closed-fixed
5
2006-03-07
2006-03-07
No

I just upgraded to nocc 1.1, and I noticed a strange
behaviour.
At the bottom of the message list, instead of the form
which allow to switch pages, I see the source code.

I looked at the source code and I think the issue is here:
in the html_top_table.php file there is just:

<?php echo $page_line ?>
while in the html_bottom_table.php there is:
<?php echo htmlentities($page_line, ENT_COMPAT, 'UTF-8') ?>

Same thing for '$prev' and '$next'.
Are they any reason why htmlentities is called for
footer and not for header?

Thanks,

Antoine

Discussion

  • Anonymous

    Anonymous - 2006-03-07

    Logged In: YES
    user_id=529507

    It was a lack of tests of my parts, mea culpa.

     
  • Anonymous

    Anonymous - 2006-03-07
    • assigned_to: nobody --> goddess_skuld
     
  • Anonymous

    Anonymous - 2006-03-07
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2006-03-07

    Logged In: YES
    user_id=529507

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the bug report.

     

Log in to post a comment.