Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Digest Authentication encoding issue

by Nik (Initiate)
on Mar 19, 2008 at 13:27 UTC ( [id://674993]=note: print w/replies, xml ) Need Help??


in reply to Re: Digest Authentication encoding issue
in thread Digest Authentication encoding issue

Here is what i my attempt to do the same thing through a cgi perl script using the Digest::MD5 module
open FILE, ">>$ENV{'DOCUMENT_ROOT'}/some_path/some_other_path/some_pas +s_file" or die $!; print FILE "webmaster:Δημιουρ&#9 +47;ία Βάσης Δεδ&#95 +9;μένων!:" .Digest::MD5::md5_hex("a +dmin:Δημιουργία &#9 +14;άσης Δεδομέ&#957 +;ων!:this_is_the_pass") ."\n"; close FILE;
But when it comes to authentication when i enter the credentials apache says there are wrong.
An encoding issue again? the init.pl file which the above code resides is encoded in 'UTF-8'.

Please suggest something else than hitting my head on the wall ;)

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://674993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-16 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found