forked from cockpit/cockpit-podman
12 lines
570 B
Diff
12 lines
570 B
Diff
|
--- a/src/ImageRunModal.jsx
|
||
|
+++ b/src/ImageRunModal.jsx
|
||
|
@@ -516,7 +516,7 @@ export class ImageRunModal extends React.Component {
|
||
|
}
|
||
|
|
||
|
// Strip out all non-allowed container image characters when filtering.
|
||
|
- let regexString = searchText.replace(/[^\w_.:-]/g, "");
|
||
|
+ let regexString = searchText.replace(/[^/\w_.:-]/g, "");
|
||
|
// Strip image registry option if set for comparing results for docker.io searching for docker.io/fedora
|
||
|
// returns docker.io/$username/fedora for example.
|
||
|
if (regexString.includes('/')) {
|