Merge pull request #107 from internetee/105842700-registrants_portal

105842700 registrants portal
This commit is contained in:
Timo Võhmar 2016-03-22 11:36:36 +02:00
commit 71e3db611b
18 changed files with 126 additions and 242 deletions

View file

@ -869,6 +869,7 @@ class Epp::Domain < Domain
ld = parsed_frame.css('legalDocument').first
return nil unless ld
return nil if ld.text.starts_with?(ENV['legal_documents_dir']) # escape reloading
return nil if ld.text.starts_with?('/home/') # escape reloading
{
body: ld.text,