[dw-free] importer not rewriting <lj user> tags in subjects for cross-site
[commit: http://hg.dwscoalition.org/dw-free/rev/1f9b39c1f87e]
http://bugs.dwscoalition.org/show_bug.cgi?id=921
Rewrite user tags in imported entry subjects.
Patch by
exor674.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=921
Rewrite user tags in imported entry subjects.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
-------------------------------------------------------------------------------- diff -r c7b98352981e -r 1f9b39c1f87e cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm --- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Tue Oct 20 13:40:55 2009 +0000 +++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Tue Oct 20 14:18:31 2009 +0000 @@ -270,6 +270,7 @@ sub try_work { } $evt->{event} = $class->remap_lj_user( $data, $event ); + $evt->{subject} = $class->remap_lj_user( $data, $evt->{subject} || "" ); # actually post it my ( $ok, $res ) = --------------------------------------------------------------------------------