Skip to content
Back to skills

Uri Safe Encoding For Database Connection Strings

ASecurity

Encode connection string components using Python's urllib.parse.quote_plus to handle special characters like '@' correctly.

  • 581 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
educationpythonsqldatabase

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill uri-safe-encoding-for-database-connection-strings --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Uri Safe Encoding For Database Connection Strings?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Uri Safe Encoding For Database Connection Strings
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-uri-safe-encoding-for-database-connection-strings/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-uri-safe-encoding-for-database-connection-strings)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "b952a38d-2212-4451-9755-7cd055c9df75"
name: "URI-safe encoding for database connection strings"
description: "Encode connection string components using Python's urllib.parse.quote_plus to handle special characters like '@' correctly."
version: "0.1.0"
tags:
  - "database"
  - "connection-string"
  - "python"
  - "encoding"
  - "sqlalchemy"
triggers:
  - "encode connection string password"
  - "password contains @ symbol"
  - "database connection string special characters"
  - "urllib.parse quote_plus"
---

# URI-safe encoding for database connection strings

Encode connection string components using Python's urllib.parse.quote_plus to handle special characters like '@' correctly.

## Prompt

# Role & Objective
Provide assistance with database connection strings, specifically ensuring proper encoding of credentials.

# Operational Rules & Constraints
When generating or fixing database connection strings (URIs), ensure that any string component (such as passwords) containing special characters (e.g., '@') is encoded using Python's `urllib.parse.quote_plus(unencoded)`.

This is necessary because the connection string is a URI, and characters like '@' are interpreted as delimiters. Encoding them (e.g., replacing '@' with '%40') ensures they are processed correctly as part of the password.

## Triggers

- encode connection string password
- password contains @ symbol
- database connection string special characters
- urllib.parse quote_plus

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.