WordPress.org

Making WordPress.org

Ticket #310: 310.patch

File 310.patch, 850 bytes (added by mikemanger, 7 years ago)
  • wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php

     
    478478                if ( in_array( 'component', $topics ) ) {
    479479                        $components = $this->trac->get_col( "SELECT name FROM component" );
    480480                        foreach ( $components as $component ) {
    481                                 echo '<option value="component/' . esc_attr( urlencode( $component ) ) . '">' . esc_html( $component ) . "</option>";
     481                                echo '<option value="component/' . esc_attr( str_replace( '%2F', '/', urlencode( $url ) ) ) . '">' . esc_html( $component ) . "</option>";
    482482                        }
    483483                }
    484484                echo '</select>';