faker icon indicating copy to clipboard operation
faker copied to clipboard

URL() method intermittently inserts spaces into hostname of the produced url

Open benderillo opened this issue 5 years ago • 0 comments

Steps to reproduce:

import (
	"fmt"
	fake "github.com/brianvoe/gofakeit"
)

def some_func() {
    for i := 0; i < 100; i++ {
        fmt.Print(fake.URL())
    }
}

Expected result: No url should have any spaces in the host or scheme parts.

Actual result: Some urls will have space in the host part.

benderillo avatar Jul 11 '18 06:07 benderillo