When phusion passenger gives a version number, it's not for Ruby (#1891)

* When phusion passenger gives a version number, it's not for Ruby

This can be tested [here](http://www.barnivore.com/beer?vfilter=All).
There is no such thing as Ruby 5.X

* Fix two typo
main
jvoisin 7 years ago committed by Elbert Alias
parent 9938653658
commit ff4b325713

@ -6557,7 +6557,8 @@
"22"
],
"headers": {
"X-Powered-By": "^Phusion Passenger"
"X-Powered-By": "^Phusion Passenger ?([\\d.]+)?\\;version:\\1",
"Server": "Phusion Passenger ([\\d.]+)\\;version:\\1"
},
"icon": "Phusion Passenger.png",
"website": "http://phusionpassenger.com"
@ -7347,7 +7348,7 @@
],
"headers": {
"Server": "(?:mod_rails|mod_rack|Phusion(?:\\.|_)Passenger)\\;confidence:50",
"X-Powered-By": "(?:mod_rails|mod_rack|Phusion[\\._ ]Passenger)(?: \\(mod_rails/mod_rack\\))?(?: ?/?([\\d\\.]+))?\\;version:\\1\\;confidence:50"
"X-Powered-By": "(?:mod_rails|mod_rack|Phusion[\\._ ]Passenger)(?: \\(mod_rails/mod_rack\\))?\\;confidence:50"
},
"icon": "Ruby on Rails.png",
"implies": "Ruby",