summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_domain.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/svc_domain.cgi')
-rwxr-xr-xhttemplate/view/svc_domain.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi
index 7fdce37df..8653c4f42 100755
--- a/httemplate/view/svc_domain.cgi
+++ b/httemplate/view/svc_domain.cgi
@@ -51,7 +51,8 @@ Service #<% $svcnum %>
<td CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $domain_record->recdata %>
% unless ( $domain_record->rectype eq 'SOA' ) {
- (<A HREF="javascript:areyousure('<%$p%>misc/delete-domain_record.cgi?<%$domain_record->recnum%>', 'Delete \'<% $domain_record->reczone %> <% $type %> <% $domain_record->recdata %>\' ?' )">delete</A>)
+% ( my $recdata = $domain_record->recdata ) =~ s/"/\\'\\'/g;
+ (<A HREF="javascript:areyousure('<%$p%>misc/delete-domain_record.cgi?<%$domain_record->recnum%>', 'Delete \'<% $domain_record->reczone %> <% $type %> <% $recdata %>\' ?' )">delete</A>)
% }
</td>
</tr>