|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-04-11 14:39 UTC] requinix@php.net
-Status: Open
+Status: Duplicate
[2018-04-11 14:39 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 19:00:01 2025 UTC |
Description: ------------ The function output_add_rewrite_var is not treating correctly links to fragments on the same html document. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" Test script: --------------- ob_start(); output_add_rewrite_var('var', 'value'); echo "<a href='#anchor'>anchor link</a>"; ob_end_flush(); die; Expected result: ---------------- Result 7.1.16: <a href='#anchor'>anchor link</a>Array Actual result: -------------- Result 7.2.4: <a href='#anchor/?var=value'>anchor link</a>