ID: 38843 Updated by: [EMAIL PROTECTED] Reported By: adrosetint at hotmail dot com Status: Open -Bug Type: *URL Functions +Bug Type: Documentation problem Operating System: Windows PHP Version: 5.1.6 New Comment:
Reclassified as docu problem. URL-Rewriter does not change absolute URLs intentionally. Previous Comments: ------------------------------------------------------------------------ [2006-09-15 12:36:17] adrosetint at hotmail dot com Description: ------------ function.output_add_rewrite_var fails with explicit URLs, i.e. URL's that explicilty include domain. But works with Implicit domains... e.g. those that do not contain the domain, but is implied to be the current domain. I realise the benefits, it doesn't alter the links to external domains, however could this function not realise if the URL is of the current domain, + where URLs are explicitly writen. I've included two urls, the first type ( implicit ) works :) the second type ( explicit ) fails. Is this a bug or a feature? Reproduce code: --------------- <?php output_add_rewrite_var('auth', '412e11'); ?> <a href="link.php">Click Here</a> <a href="http://this.site.net/link.php">Click Here</a> Expected result: ---------------- <a href="link.php?auth=412e11">Click Here</a> <a href="http://this.site.net/link.php?auth=412e11">Click Here</a> Actual result: -------------- <a href="link.php?auth=412e11">Click Here</a> <a href="http://this.site.net/link.php">Click Here</a> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38843&edit=1