Opened 2 years ago

Closed 2 years ago

#839 closed defect (fixed)

error while adding WP.ORG blog

Reported by: daniloercoli Owned by:
Priority: major Milestone: 2.8
Component: Add Blog/Site Version: 2.7.2
Keywords: Cc:

Description

There are issues adding .ORG blogs that have the XML-RPC endpoint in a subfolder.
For example you can't add this blog http://www.novivus.com/ without specifying the full path to the XML-RPC endpoint http://www.novivus.com/novivus/xmlrpc.php
Seems that the app doesn't read&parse the RSD document, but it stopped just after the guess (afterGuess)

Change History (1)

comment:1 Changed 2 years ago by daniloercoli

  • Resolution set to fixed
  • Status changed from new to closed

(In [1897]) fixes #839 by cleaning the HTML document before start a search for the RSD link.

We are using a RegExp? that doesn't work fine on unformatted HTML document. If the regexp match fails on the original HTML document, we are now cleaning the HTML document using tidy, and then we try the match again.

Last edited 2 years ago by daniloercoli (previous) (diff)
Note: See TracTickets for help on using tickets.