[comments] fix a bug with incomplete urls