[media.ccc.de] Escape "." in id pattern

This commit is contained in:
TobiGr 2020-12-27 11:01:10 +01:00
parent 674f2227f3
commit ed9402c002

View file

@ -6,7 +6,7 @@ import java.util.List;
import java.util.regex.Pattern; import java.util.regex.Pattern;
public class MediaCCCRecentListLinkHandlerFactory extends ListLinkHandlerFactory { public class MediaCCCRecentListLinkHandlerFactory extends ListLinkHandlerFactory {
private static final String pattern = "^(https?://)?media.ccc.de/recent/?$"; private static final String pattern = "^(https?://)?media\\.ccc\\.de/recent/?$";
@Override @Override
public String getId(String url) { public String getId(String url) {