Commit f968ffa2 authored by Nathan Haug's avatar Nathan Haug
Browse files

Rolling back... last patch should go into CVS first

parent 65503537
......@@ -421,11 +421,7 @@ function link_validate_link($text) {
// port number
'(:([0-9]{1,4}))?'.
// the rest of the path
"(\/[a-z0-9_\-\.~+%=&,$'():;*@]+)*".
// anchors
"#?[a-z0-9_\-\.~+%=&,$'():;*@]*".
// the query string
"(\?[a-z0-9+_\-\.\/%=&,$'():;*@]*)?". //)?". //$-_.+*'()
'(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.\/%=&,:]*)?)?'.
// forward slash 0 or 1 times
'(\/)?'.
// end of the expression, case insensitive
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment