[Mono-docs-list] Another monodoc web fix
Fawad Halim
fawad@fawad.net
Sat, 11 Oct 2003 00:40:19 -0500
Hi,
On the gecko based browsers I've used (Firebird 0.6.1/Win32, Moz
1.5/Linux), the DOM seems to convert the protocol part of the href to
lowercase. So
<a href="T:fawad">fawad</a>
actually points to
t:fawad
This causes mondoc links on the content pages to not work under those
browsers. Following patch makes the prefix match case insensitive in
provider.cs (will we ever have seperate handlers for T: and t:?).
Regards
-fawad
Index: browser/provider.cs
===================================================================
RCS file: /mono/monodoc/browser/provider.cs,v
retrieving revision 1.56
diff -r1.56 provider.cs
1031c1031
< switch (prefix){
---
> switch (prefix.ToUpper()){