[wp-trac] [WordPress Trac] #13268: Website URL as plain text causes error

WordPress Trac wp-trac at lists.automattic.com
Wed May 5 21:51:13 UTC 2010


#13268: Website URL as plain text causes error
--------------------------+-------------------------------------------------
 Reporter:  coyot         |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  Unassigned
Component:  General       |     Version:  2.9.2     
 Severity:  minor         |    Keywords:  slash url 
--------------------------+-------------------------------------------------
 When an URL appears in the post as clear text (not as a link) with the
 http:// the slashes cause an PHP warning when viewing the article (warning
 text below) and the post doesn't get viewed.

 Removing the "//" from the URL or formatting the string as a URL with the
 editor fixes the problem.

 Noticed from version 2.9.2

 Warning: wp_oembed_get() [function.wp-oembed-get]: open_basedir
 restriction in effect. File(/usr/share/php5//class-oembed.php) is not
 within the allowed path(s):
 (.:/srv/www/vhosts/xxx.com/httpdocs/:/tmp:/usr/share/php5/) in
 /srv/www/vhosts/xxx.com/httpdocs/blog/wp-includes/media.php on line 1282

 Warning: wp_oembed_get(class-oembed.php) [function.wp-oembed-get]: failed
 to open stream: Operation not permitted in
 /srv/www/vhosts/xxx.com/httpdocs/blog/wp-includes/media.php on line 1282

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13268>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list