Merge pull request #3456 from theconcierge2020/patch-2

Improve Confluence vs Jira detection
main
Elbert Alias 4 years ago committed by GitHub
commit 307ed86a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1700,7 +1700,11 @@
"headers": { "headers": {
"X-Confluence-Request-Time": "" "X-Confluence-Request-Time": ""
}, },
"html": "Powered by <a href=[^>]+atlassian\\.com/software/confluence(?:[^>]+>Atlassian Confluence</a> ([\\d.]+))?\\;version:\\1", "dom": {
"li.print-only": {
"text": "Atlassian Confluence ([\\d.]+)\\;version:\\1"
}
},
"icon": "Atlassian Confluence.svg", "icon": "Atlassian Confluence.svg",
"implies": "Java", "implies": "Java",
"meta": { "meta": {
@ -1725,15 +1729,19 @@
13 13
], ],
"cpe": "cpe:/a:atlassian:jira", "cpe": "cpe:/a:atlassian:jira",
"html": "Powered by\\s+<a href=[^>]+atlassian\\.com/(?:software/jira|jira-bug-tracking/)[^>]+>Atlassian\\s+JIRA(?:[^v]*v(?:ersion: )?(\\d+\\.\\d+(?:\\.\\d+)?))?\\;version:\\1",
"icon": "Atlassian Jira.svg", "icon": "Atlassian Jira.svg",
"implies": "Java", "implies": "Java",
"js": { "js": {
"jira": "" "jira.id": ""
},
"dom": {
"#jira": {
"text": ""
}
}, },
"meta": { "meta": {
"ajs-version-number": "^(.+)$\\;version:\\1", "application-name": "JIRA",
"application-name": "JIRA" "data-version": ([\\d.]+)\\;version:\\1\\;confidence:0
}, },
"website": "http://www.atlassian.com/software/jira/overview/" "website": "http://www.atlassian.com/software/jira/overview/"
}, },