Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitweb: escape link body in format_ref_marker #283

Closed
wants to merge 1 commit into from

Commits on Aug 2, 2016

  1. gitweb: escape link body in format_ref_marker

    Fix a case where an html link can be generated from unescaped input
    resulting in invalid strict xhtml or potentially injected code.
    
    An overview of a repo with a tag "1.0.0&0.0.1" would previously result
    in an unescaped ampersand in the link body.
    
    Signed-off-by: Andreas Brauchli <a.brauchli@elementarea.net>
    Acked-by: Jakub Narębski <jnareb@gmail.com>
    abrauchli committed Aug 2, 2016
    Configuration menu
    Copy the full SHA
    e3b433c View commit details
    Browse the repository at this point in the history