---
title: "invalid-url"
description: "Detect invalid constant URLs passed to net/url.Parse."
image: "https://strider.gempir.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://strider.gempir.com/llms.txt
> Use this file to discover all available pages before exploring further.

# invalid-url

**Default severity:** `error`

## Bad

```go
url.Parse(":")
```

## Good

```go
url.Parse("https://golang.org")
```

Source: https://strider.gempir.com/analyzers/invalid-url/index.mdx
