Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 2nd November 2008, 21:53
ibc ibc is offline
Junior Member
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default NAPTR added but " is replaced with \"

In order to support NAPTR DNS entries I've added "NAPTR" in files:
  • web/dns/form/rr.tform.php
  • web/dns/list/rr.list.ph

so now I can enter a NAPTR entry.

But there is something wrong: I insert a ENUM NAPTR entry like this:
  • Name:
  • Type: NAPTR
  • Data: 100 10 "u" "E2U+sip" "!^.*$!sip:user@domain.org!i" .

But MyDnsConfig inserts the following into database:
100 10 \"u\" \"E2U+sip\"  \"!^.*$!sip:user@domain.org!i\" .
This is totally wrong since before storing the data the data is escaped and " is replaced by \". Of course " shouldn't be escaped in order a NAPTR entry to work.

Where exactly is done this espace processing? how could I change it?
Reply With Quote
Sponsored Links
Old 2nd November 2008, 22:15
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

Please make sure that magic_quotes_gpc is disabled in your php.ini
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 2nd November 2008, 22:28
ibc ibc is offline
Junior Member
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Great, it works!

PD: I suggest to add NAPTR officially in the code since it's just adding the word "NAPTR" in 2 files.

Thanks a lot.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix - Relay access denied gotting Server Operation 3 23rd April 2008 15:06
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 15:22
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18
php script injections Grizzly General 21 18th July 2006 09:55

All times are GMT +2. The time now is 09:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.