Recent Topics

1 Nov 24, 2008 01:50    

My b2evolution Version: 2.x

heya,
this time I have a pretty special and wired problem:

- if I make a hyperlink within a post, thats no problem
if I make a hyperlink within a post to another post of my blog it tells me invalid html. but that is defenitly not true

example: like to wikipedia.org works, link to http://blog_a.weiterweg.org/rf/2008/10/29/gor_redwoods doesn't work.

maybe it is because I habe the start blog page at blog.weiterweg.org an all other pages at blog_a.weiterweg.org

many thanks

2 Nov 24, 2008 09:17

It's caused by the underline in your subdomain name

Crack open /inc/_core/_url.funcs.php, meander down to approx 131 and replace the section of code that looks similar to this, with this code ;)

			if( ! preg_match('~^           # start
				([a-z][a-z0-9+.\-]*)             # scheme
				://                              # authorize absolute URLs only ( // not present in clsid: -- problem? ; mailto: handled above)
				(\w+(:\w+)?@)?                   # username or username and password (optional)
				( localhost |
						[a-z0-9]([a-z0-9\-_])*            # Don t allow anything too funky like entities
						\.                               # require at least 1 dot
						[a-z0-9]([a-z0-9.\-])+           # Don t allow anything too funky like entities
				)
				(:[0-9]+)?                       # optional port specification
				[^ ]*                            # allow no space
				$~ix', $url, $match) )

¥


Form is loading...