Plugin Directory


Opened 7 years ago

Last modified 7 years ago

#1231 new defect

LiveJournal Importer mishandles some <lj-cut> and <lj user=""> expressions

Reported by: sfllaw Owned by: a-bishop
Priority: normal Severity: normal
Plugin: livejournal-comments Keywords: livejournal-importer, import, livejournal, regexp
Cc: sfllaw@…, peter.westwood@…, designsimply


Reproduction steps:

  1. Create a LiveJournal entry that has <lj user="foo" /> in it. Note that this is XML-ish
  2. Try to use the livejournal-importer on this post.

The <lj user="foo" /> gets ignored because the regular expression is too strict.

I've attached a patch that makes LiveJournal Importer recognize the XML-ish version.

Attachments (1)

livejournal-importer.patch (1.5 KB) - added by sfllaw 7 years ago.
Patch to fix some regular expressions in livejournal-importer

Download all attachments as: .zip

Change History (3)

@sfllaw7 years ago

Patch to fix some regular expressions in livejournal-importer

comment:1 @westi7 years ago

  • Cc peter.westwood@… added

This ticket and patch should really be in the http://core.trac.wordpress.org as the Importers are handled there.

comment:2 @designsimply7 years ago

  • Cc designsimply added
Note: See TracTickets for help on using tickets.