mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-10 16:58:34 +02:00
Small RDAP fix
This commit is contained in:
parent
a13da52955
commit
80c20c9370
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ function handleDomainQuery($request, $response, $pdo, $domainName) {
|
||||||
|
|
||||||
// Send the RDAP response
|
// Send the RDAP response
|
||||||
$response->header('Content-Type', 'application/json');
|
$response->header('Content-Type', 'application/json');
|
||||||
$response->end(json_encode($rdapResponse));
|
$response->end(json_encode($rdapResponse, JSON_UNESCAPED_SLASHES));
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$response->end(json_encode(['error' => 'Error connecting to the RDAP database']));
|
$response->end(json_encode(['error' => 'Error connecting to the RDAP database']));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue