Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions nerdlets/github-about/repo-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { Button, Stack, StackItem, TextField, Spinner } from 'nr1';
import Github from './github';
import Header from './header';
import { isUrlSafe, isPublicGithubApi } from '../shared/utils';
import { isUrlSafe, isPublicGithubApi, sanitizeUrl } from '../shared/utils';

export default class RepoPicker extends React.PureComponent {
static propTypes = {
Expand Down Expand Up @@ -121,7 +121,11 @@ export default class RepoPicker extends React.PureComponent {
</a>
<br />
<small>
<a target="_blank" href={item.html_url} rel="noopener noreferrer">
<a
target="_blank"
href={sanitizeUrl(item.html_url)}
rel="noopener noreferrer"
>
{item.html_url}
</a>
</small>
Expand Down
Loading