Skip to content

Commit cbae696

Browse files
bessoneio-developer
authored andcommitted
Added key for parsing KR registrar
1 parent 2479a32 commit cbae696

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

src/Iodev/Whois/Configs/module.tld.parser.block.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
"~^(Name|Last[-_\\s]Name|First[-_\\s]Name|Descr)$~ui"
6666
],
6767
"registrarKeys": [
68-
"~^(Current|Sponsoring)?[-_\\s]?Registr?ar[-_\\s]?(Name|Organization|Handle|Created)?$~ui"
68+
"~^(Current|Sponsoring)?[-_\\s]?Registr?ar[-_\\s]?(Name|Organization|Handle|Created)?$~ui",
69+
"~^Authorized[\\s]Agency$~ui"
6970
],
7071
"statesKeys": [
7172
"~^(Domain|Registry|Registration|Ren|Epp)[-_\\s]?(Status|State)$~ui",

src/Iodev/Whois/Configs/module.tld.parser.common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"~^(Name|Last[-_\\s]Name|First[-_\\s]Name|Descr)$~ui"
5959
],
6060
"registrarKeys": [
61-
"~^(Current|Sponsoring)?[-_\\s]?Registr?ar[-_\\s]?(Name|Organization|Handle|Created)?$~ui"
61+
"~^(Current|Sponsoring)?[-_\\s]?Registr?ar[-_\\s]?(Name|Organization|Handle|Created)?$~ui",
62+
"~^Authorized[\\s]Agency$~ui"
6263
],
6364
"statesKeys": [
6465
"~^(Domain|Registry|Registration|Ren|Epp)[-_\\s]?(Status|State)$~ui",

src/Iodev/Whois/Configs/module.tld.parser.indent.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
"~^(Name|Last[-_\\s]Name|First[-_\\s]Name|Descr)$~ui"
6666
],
6767
"registrarKeys": [
68-
"~^(Current|Sponsoring)?[-_\\s]?Registr?ar[-_\\s]?(Name|Organization|Handle|Created)?$~ui"
68+
"~^(Current|Sponsoring)?[-_\\s]?Registr?ar[-_\\s]?(Name|Organization|Handle|Created)?$~ui",
69+
"~^Authorized[\\s]Agency$~ui"
6970
],
7071
"statesKeys": [
7172
"~^(Domain|Registry|Registration|Ren|Epp)[-_\\s]?(Status|State)$~ui",

tests/Iodev/Whois/Modules/Tld/parsing_data/.kr/google.co.kr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
],
1010
"dnssec": "unsigned",
1111
"creationDate": "1999-07-28T00:00:00",
12-
"expirationDate": "2018-07-28T00:00:00",
12+
"expirationDate": "2022-07-28T00:00:00",
1313
"updatedDate": "2010-10-04T00:00:00",
1414
"states": [],
1515
"owner": "Google Korea, LLC",
16-
"registrar": ""
16+
"registrar": "Whois Corp.(http://whois.co.kr)"
1717
}

tests/Iodev/Whois/Modules/Tld/parsing_data/.kr/google.co.kr.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ query : google.co.kr
1212
책임자 전화번호 : 82.25319000
1313
등록일 : 1999. 07. 28.
1414
최근 정보 변경일 : 2010. 10. 04.
15-
사용 종료일 : 2018. 07. 28.
15+
사용 종료일 : 2022. 07. 28.
1616
정보공개여부 : Y
1717
등록대행자 : (주)후이즈(http://whois.co.kr)
1818
DNSSEC : 미서명
@@ -39,7 +39,7 @@ AC E-Mail : dns-admin@google.com
3939
AC Phone Number : 82.25319000
4040
Registered Date : 1999. 07. 28.
4141
Last Updated Date : 2010. 10. 04.
42-
Expiration Date : 2018. 07. 28.
42+
Expiration Date : 2022. 07. 28.
4343
Publishes : Y
4444
Authorized Agency : Whois Corp.(http://whois.co.kr)
4545
DNSSEC : unsigned
@@ -53,6 +53,4 @@ Secondary Name Server
5353
Host Name : ns4.google.com
5454

5555

56-
5756
- KISA/KRNIC WHOIS Service -
58-

0 commit comments

Comments
 (0)