Last modified: 2010-05-15 15:29:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 430 - Allow backslash and dollar character in external links parser
Allow backslash and dollar character in external links parser
Status: RESOLVED DUPLICATE of bug 343
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.3.x
PC Windows 2000
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-09 13:01 UTC by Michael Keppler
Modified: 2010-05-15 15:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael Keppler 2004-09-09 13:01:09 UTC
Please add "\" and "$" to the external links parser to make the software usable
in Windows based intranets. "\" is needed for host based pathes like
\\servername\path\file and the "$" character is used for "hidden" network shares
in Windows.
This can be accomplished by changing function subReplaceExternalLinks in
includes\parser.php, so that
		$uc = "A-Za-z0-9_\\/~%\\-+&*#?!=()@\\x80-\\xFF\\\\\\$";
instead of
		$uc = "A-Za-z0-9_\\/~%\\-+&*#?!=()@\\x80-\\xFF";
where the change is "\\\\" and "\\$" and by
		$fnc = 'A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF\\\\\\$';
instead of
		$fnc = 'A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF';

With these changes the software works fine in a Windows installation at our company.
Comment 1 Brion Vibber 2004-09-09 18:28:56 UTC

*** This bug has been marked as a duplicate of 343 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links