Comments (5)
I started questioning why Redis would go off spec and discovered RFC1738 was the wrong spec to refer to. Redis based their URI scheme off of the NWG's 2005 RFC3986 which supersedes the 1994 RFC1738.
https://www.iana.org/assignments/uri-schemes/prov/redis
It no longer imposes restrictions on userinfo other than character set.
https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1
RFC2396 dropped the "user:password" rules and left it up to the protocol.
https://datatracker.ietf.org/doc/html/rfc2396#appendix-G.2
from marshmallow.
Thanks for reporting! I don't have time to dig into this right now, but would def appreciate an investigation and/or a PR from anyone who'd be so kind
from marshmallow.
RFC1738 specifies that either field is optional.
A password is only optional after a user name is included.
Some or all of the parts "<user>:<password>@", ":<password>", ":<port>", and "/<url-path>" may be excluded.
password - An optional password. If present, it follows the user name separated from it by a colon.
there is no way to specify a password without specifying a user name
from marshmallow.
Oh good catch. So the current validation appears to be correct then. I think we can close this
from marshmallow.
closed by #2244
from marshmallow.
Related Issues (20)
- Are nested options applied correctly? HOT 1
- [RFC] Add BigInt, SmallInt,... fields. HOT 3
- RecursionError: maximum recursion depth exceeded while calling a Python object HOT 1
- Question - Is it possible to ignore fields on dump? HOT 4
- sdist is missing `tox.ini` HOT 4
- Validation does not occur on serialization documentation issue HOT 2
- Dot in key is not parsed correclty on loads() HOT 3
- The data_key argument for one or more fields collides with another field's name or data_key argument. HOT 2
- Serialize data objects in Schema HOT 1
- Raise error for valid e-mail
- Is this safer than Pickle? HOT 1
- Wrong value in __call__() function of validate.Validator HOT 1
- Validation of required nested field is not consistent with previous version
- Create raw list Schema HOT 1
- The function decorated by the "post_load" decorator will undergo changes in parameter types as the function name changes. HOT 1
- Deprecate __version__ and related attributes
- Address deprecation warnings in tests HOT 1
- fields.URL validation error should specify "not a valid FQDN" if trying to pass hostname without domain
- missing `f` for f-Strings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marshmallow.