Skip to content
  • nagachika's avatar
    0b3ed604
    merge revision(s) 5d4fff84: [Backport #19293] · 0b3ed604
    nagachika authored
    	Tighten Time.new(string) parsing
    
    	Disallow:
    
    	* Only year-month
    	* Only year-month-day
    	* Preceding whitespace
    	* Trailing whitespace
    
    	Fixes [Bug #19293]
    	---
    	 test/ruby/test_time.rb | 13 +++++++++++++
    	 time.c                 | 13 ++++++++++++-
    	 2 files changed, 25 insertions(+), 1 deletion(-)
    0b3ed604
    merge revision(s) 5d4fff84: [Backport #19293]
    nagachika authored
    	Tighten Time.new(string) parsing
    
    	Disallow:
    
    	* Only year-month
    	* Only year-month-day
    	* Preceding whitespace
    	* Trailing whitespace
    
    	Fixes [Bug #19293]
    	---
    	 test/ruby/test_time.rb | 13 +++++++++++++
    	 time.c                 | 13 ++++++++++++-
    	 2 files changed, 25 insertions(+), 1 deletion(-)
Loading