]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/bookmarklet.php
Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-admin / bookmarklet.php
index 195e35ccf1e69860b34b7aeec0467d95880ca2d1..2fa3c842b7c62fe864b55077b1f12f49cb09a450 100644 (file)
@@ -37,7 +37,7 @@ else
        
   
 $content  = wp_specialchars($_REQUEST['content']);
-$popupurl = wp_specialchars($_REQUEST['popupurl']);
+$popupurl = clean_url(stripslashes($_REQUEST['popupurl']));
     if ( !empty($content) ) {
         $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );
     } else {