Improved parsing of RSD tag
|Reported by:||raanan||Owned by:|
( suggestion from Oliver )
In function discoverxmlrpcurlForurl I see that the app GETs the default page and searches for the EditURI. In ourStr the tag is properly found, however then when it gets to cutting out the xmlrpc url from ourStr the debugger shows me that actually the title of the page is returned and not the appropriate xmlrpc url.
I suspect that it’s because you are looking for the first /> in the WHOLE HTML file but instead should only look for the next > after the EditURI because on a HTML 4.01 default page you would not have a closing /> for the link rel tag, but just a >.