#2747 Escape vcs and disturl
Merged 3 years ago by tkopecek. Opened 3 years ago by alexi.
alexi/koji issue_2746  into  master

Escape vcs and disturl
Alex Iribarren • 3 years ago  
file modified
+2 -2
@@ -52,12 +52,12 @@ 

      #end if

      #if $vcs

      <tr>

-         <th><label title="Package source code VCS location">VCS</label></th><td>$vcs</td>

+         <th><label title="Package source code VCS location">VCS</label></th><td>$util.escapeHTML($vcs)</td>

      </tr>

      #end if

      #if $disturl

      <tr>

-         <th>DistURL</th><td>$disturl</td>

+         <th>DistURL</th><td>$util.escapeHTML($disturl)</td>

      </tr>

      #end if

      <tr>

file modified
+2 -2
@@ -70,12 +70,12 @@ 

      </tr>

      #if $vcs

      <tr>

-         <th><label title="Package source code VCS location">VCS</label></th><td>$vcs</td>

+         <th><label title="Package source code VCS location">VCS</label></th><td>$util.escapeHTML($vcs)</td>

      </tr>

      #end if

      #if $disturl

      <tr>

-         <th>DistURL</th><td>$disturl</td>

+         <th>DistURL</th><td>$util.escapeHTML($disturl)</td>

      </tr>

      #end if

      #end if

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 years ago

Commit 566c707 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

3 years ago