album keyword and firefox password manager album keyword and firefox password manager
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

album keyword and firefox password manager

Started by Tranz, March 27, 2005, 12:51:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tranz

This was one annoying issue to hunt down... :P

When editing album properties, Firefox keeps asking about remembering the password. I kept saying No. One time, I clicked Yes by accident since it was the default.

After that, the keyword field would show the same keyword in every album. This did not affect IE.

I did two things to confirm that it is this field. I deleted the password entry in FF's password manager. I also changed the name of the field. However, it's not enough to change the field name, someone with better knowledge would need to make changes to maintain the data connection.

Hopefully having a different field name will stop the password manager prompts in FF.

kegobeer

In modifyalb.php, change

<input type="password" name="$name" value="$value" class="textinput" maxlength="32" size="34">

to

<input type="password" name="$name" value="$value" class="textinput" maxlength="32" size="34" autocomplete="off">

I have no idea if autocomplete is html 4.01 or xhtml compliant, but it works.  If it isn't, then use type="text" instead of type="password".
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

I know it seems strange, but the issue is with the keyword field, not password. :)

kegobeer

Not for me.  Once I changed the password field for the album manager, my password manager stopped popping up.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

I'm not using the album password though. Here's what I did.

Edit keyword.
Clicked yes to saving password although I made no change to password.

After that, all albums showed the same keyword. However, it's not in the html source. So it's FF's password autofill feature.

kegobeer

Neither am I.  It doesn't matter if the field is empty or not.  When you submit a change, the type="password" gets Firefox's attention, which causes the password manager to pop up.  Adding autocomplete="off" makes FF ignore the password field.  I Googled for the Firefox password issue and found this little trick.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

Thanks, that seemed to help. I had to delete the entry in password manager. The keyword was showing up as the username in the manager.

The page still validated. :)

kegobeer

Sorry, I should have told you I had to delete that entry in my password manager also.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller


Joachim Müller