Opened 5 years ago

Closed 4 years ago

#59 closed defect (fixed but pending verification)

Improved parsing of RSD tag

Reported by: raanan Owned by:
Priority: major Milestone: 1.2
Component: XML-RPC Version:
Keywords: Cc:

Description

( 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 >.

Change History (1)

comment:1 Changed 4 years ago by janakirampalepu

  • Resolution set to fixed but pending verification
  • Status changed from new to closed

Improved the logic for parsing the tags.

Note: See TracTickets for help on using tickets.