[wp-trac] [WordPress Trac] #26573: Passwords with apostrophes not accepted on install

WordPress Trac noreply at wordpress.org
Thu Dec 12 19:31:45 UTC 2013


#26573: Passwords with apostrophes not accepted on install
-----------------------------+------------------------------
 Reporter:  Ipstenu          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.1
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nofearinc):

 Slashing the password before calling `wp_install` fixes that for me.
 wp_install isn't called anywhere else in core from what I found, now the
 question is whether it should be slashed upfront or inside of the
 wp_install function (if we consider that other plugins are using the
 function and are probably slashing there already).

 Additional `wp_slash( wp_unslash( ... ) )` could be called inside, but I'm
 not sure how wise would that be (should be backwards compatible though).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26573#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list