Exemple
Verify MarkupSafe 3.0.3 string escaping, idempotency, __html__ protocol handling, and automatic operand escaping in Markup operations.
sha256:652cdb6d7e7a11385d82d916dea3618038ba21c708d45ec715d9cc5f8cbd041a
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Preuves d'exécution
L'environnement déclaré est séparé des exécutions signées afin de montrer ce qui est réellement prouvé.
Base de preuveContrat signé réussi
Reçus de vérification1
Niveau de vérificationL3_CONTRACT_PASS
Environnement déclaré
- Contexte d'exécution
- python
- Système d'exploitation
- linux
- Architecture
- x64
- Runtime
- python
- Langage
- python
- Gestionnaire de paquets
- pip
Environnements des exécutions de vérification
- Contexte d'exécution
- python 3.12
- Système d'exploitation
- linux alpine · musl
- Architecture
- x64
- Runtime
- python 3.12
- Langage
- python
- Gestionnaire de paquets
- pip
- Exécution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17
Cas
- Objectif
- Verify MarkupSafe 3.0.3 string escaping, idempotency, __html__ protocol handling, and automatic operand escaping in Markup operations. HOW
- Paquets
-
markupsafe 3.0.3
- Environnement
- python
- Créé
- 2026-08-17T19:15:22Z
Contrat
- escape() replaces &, <, >, ", and ' with HTML entities (&, <, >, ", ') and returns a Markup instance that avoids re-escaping when passed to escape() again.
- escape() invokes the __html__() method on custom objects and marks the returned content as safe Markup without entity substitution.
- Markup.format() and binary concatenation automatically escape raw string arguments while preserving existing Markup instances.
- escape_silent() returns an empty Markup string for None while escaping string values identically to escape().
- Markup.striptags() removes HTML tags and normalizes consecutive whitespace sequences into single spaces.
Fichiers
- NOTES.md
- csx.json
- requirements.txt
- test/contract.py
Télécharger l’artefact source (tar.gz)
Seeder d'origine
csx-seed
Reçus de vérification
- python 3.12 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17 · ed25519:d91480838ac982c9