Webgui ['squid custom squid.conf options' textbox] encoding format?
-
I'm trying to pull some settings out of a recent config backup I made. The squid3 package has a textbox in the webgui where one can enter whatever custom squid.conf config directives desired, i've located what I'm looking for in the config.xml, however when viewing the config.xml in a text editor the it looks like some encoding has been done on the data that is entered in the textbox via the webgui. I understand why it would be done that way from a design perspective but is there a simple way of decoding the data back into human readable format?
-
If you goto Diagnostics:Command Prompt in the GUI -
And in the PHP Execute Box type :
print base64_decode(" ENTER THE CODED STRING HERE ");
It will output the decoded string to the Screen. You will need to find the coded string in the /conf/config.xml file.
Hope this helps!
-
thanks sir you rock….. :-)