mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Merge branch 'story/109057934-no-legal-document-reloading' into staging
This commit is contained in:
commit
8bf98837cc
1 changed files with 1 additions and 0 deletions
|
@ -842,6 +842,7 @@ class Epp::Domain < Domain
|
|||
def parse_legal_document_from_frame(parsed_frame)
|
||||
ld = parsed_frame.css('legalDocument').first
|
||||
return nil unless ld
|
||||
return nil if ld.text.starts_with?(ENV['legal_documents_dir']) # escape reloading
|
||||
|
||||
{
|
||||
body: ld.text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue