add URL support for news: and ed2k://
This commit is contained in:
parent
0e5ec2075f
commit
b21658d21b
@ -68,6 +68,10 @@ const char *url_begin(const char *ptr) {
|
|||||||
return ptr+4;
|
return ptr+4;
|
||||||
if(strnieql(ptr, "mailto:", 7))
|
if(strnieql(ptr, "mailto:", 7))
|
||||||
return ptr+7;
|
return ptr+7;
|
||||||
|
if(strnieql(ptr, "news:", 5))
|
||||||
|
return ptr+5;
|
||||||
|
if(strnieql(ptr, "ed2k://", 7))
|
||||||
|
return ptr+7;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user