Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Bug: Import fails for items whose first component is a single-character

About: Google Hit Hider by Domain (Search Filter / Block Sites)

Hello, import fails (red background) for certain items, in doImport()
if (dom.lastIndexOf(".") < dom.length-2 && dom.indexOf(".") > 1){

Examples:
|4.domain.tld:p
|t.co:p

Comments

  • @mchubby said:
    Hello, import fails (red background) for certain items, in doImport()
    if (dom.lastIndexOf(".") < dom.length-2 && dom.indexOf(".") > 1){

    Hi mchubby, I wonder if that was a typo and I meant

    if (dom.lastIndexOf(".") < dom.length-2 && dom.indexOf(".") > 0){

    It might be hard to reconstruct my original thinking at this point.

    I can't post an update at the moment, but I'll keep this tab open for future reference.

  • I made this change in 2.0.4. Please advise of any ongoing issues.

Sign In or Register to comment.