mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix forms with empty actions
This commit is contained in:
parent
3a13b51068
commit
e9bec851f9
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ class HTMLDisplayHandler
|
|||
// handles a relative path generated by using the rewrite module
|
||||
if(Context::isAllowRewrite())
|
||||
{
|
||||
$pattern = '/(action|src|href)=(["\'])\.\/([^"\']*)(["\'])/s';
|
||||
$pattern = '/(action|src|href)=(["\'])(?:\.\/([^"\']*))?(["\'])/s';
|
||||
$output = preg_replace($pattern, '$1=$2' . \RX_BASEURL . '$3$4', $output);
|
||||
|
||||
$pattern = '/src=(["\'])((?:files\/(?:attach|cache|faceOff|member_extra_info|thumbnails)|addons|common|(?:m\.)?layouts|modules|widgets|widgetstyle)\/[^"\']+)(["\'])/s';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue