Skip to content
Search…
Search
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Search…
Search
Register
Login
Remember me
MikroTik
Community discussions
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
3rd party tools
Home
Forum index
RouterOS
Scripting
[SOLVED] Why does `get` for static DNS & DHCP leases have issues with nulls in string values & how can I work around it?
Post Reply
Print view
jeroenp
Member Candidate
Topic Author
Posts:
159
Joined:
Mon Mar 17, 2014 11:30 am
Location:
Amsterdam
Contact:
Contact jeroenp
Website
[SOLVED] Why does `get` for static DNS & DHCP leases have issues with nulls in string values & how can I work around it?
Quote
#1
Wed May 04, 2016 11:41 pm
This is at least in part caused by `:put` not printing NULL (and other characters) as HEX-escaped; see
http://forum.mikrotik.com/viewtopic.php?f=9&t=108089
I will report later if that is the only cause.
--jeroen
Last edited by
jeroenp
on Thu May 12, 2016 12:48 am, edited 1 time in total.
Top
jeroenp
Member Candidate
Topic Author
Posts:
159
Joined:
Mon Mar 17, 2014 11:30 am
Location:
Amsterdam
Contact:
Contact jeroenp
Website
Re: Why does `get` for static DNS and DHCP leases have issues with nulls in string values and how can I work around it?
Quote
#2
Tue May 10, 2016 11:04 am
This is actually being caused by `:put` failing to HEX-escape unprintable characters.
See
[SOLVED] Anyone having a stringify function circumventing :put to displaying un-printable characters as HEX escapes?
--jeroen
Top
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Post Reply
Print view
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
3rd party tools
Home
Forum index
RouterOS
Scripting
×