Comment 4 for bug 228850

Revision history for this message
Matthieu Patou (mat-matws) wrote :

I would like to add a me too to this bug !

The problem seems very nasty now with 10.10 as network manager insists on adding an entry with the hostname of the machine and 127.0.0.1 so everytime you use the myIpAddress function you have always 127.0.0.1 !

The test.html file attached allow to show the problem more clearly as the original myIpAddress of firefox return the first element of o.getNextAddrAsString() which is, as the test reveal, 127.0.0.1 !
I made a small patch to correct the behavior of firefox, in the 3.6 series you can apply it simply.

In the 4.0 series you have to first locate the omni.jar file, then copy it to omni.zip, make a sub folder, unzip it in the subfolder, apply my patch, recreate a zip file (rm ../omni.zip; zip ../omni.zip -r .) and rename it to omni.jar.

It works for me quite well !
Enjoy !