Comments (1)
Oh, and to continue:
SafeYAML::OPTIONS[:whitelisted_tags] = ['tag:yaml.org,2002:merge']
YAML.load(yaml) # => {"common"=>{"adapter"=>"postgresql"}, "development"=>{#<Syck::MergeKey:0x007f89aaa379c0>=>{"adapter"=>"postgresql"}}}
from safe_yaml.
Related Issues (20)
- Tests fail with Ruby 3.0
- Starting with Ruby 3.4.0, base64 will no longer be part of stdlib HOT 2
- Video
- support type casting HOT 1
- uninitialized constant Psych::Nodes (NameError) HOT 44
- Ruby 2.2.0 - undefined method `tagged_classes' for Psych:Module (NoMethodError) HOT 4
- uninitialized constant Syck (NameError) after update from Ruby 2.1.6 to Ruby 2.2.2 HOT 6
- Multi line + tab HOT 1
- safe_yaml vs Psych safe_load HOT 1
- No support for load_stream
- uninitialized constant SafeYAML::Parse::Date::DateTime (NameError) HOT 5
- merges fail with empty common block
- uninitialized constant error (Ruby Sinatra)
- Revisiting #35: Discarding timezone data HOT 2
- BigDecimal value 0.0, converted to 1080.0 !!!
- Invocations different across Platforms
- Invasion of phone system privacy HOT 5
- Document when to use `safe_yaml` vs `YAML.safe_load`
- Is `deserialize_symbols` still a valid safety concern?
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 safe_yaml.