Notifications
Clear all

backslashes in blog get stripped in crossposted wpforo post

12 Posts
3 Users
0 Likes
765 Views
Posts: 25
Topic starter
(@nando4)
Eminent Member
Joined: 7 years ago

From blog, the following:

echo -off
fs0:
EFI\Boot\apple_set_os.efi

has backslashes stripped in crossposted wpforo post so becomes:

echo -off
fs0:
EFIBootapple_set_os.efi

Kindly provide a bug fix. Thank you

11 Replies
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago

Hi @nando4,

The issue is fixed by our developers. Please update the wpForo – Blog Cross Posting addon to the latest version (v. 2.1.2) and check again.

Reply
1 Reply
(@nando4)
Joined: 7 years ago

Eminent Member
Posts: 25

@elvina, thank you. However the plugin update is failing with "Update Failed: Update package not available." Is it ready to be updated?

Reply
Posts: 25
Topic starter
(@nando4)
Eminent Member
Joined: 7 years ago

Nevermind. Got it updated.

Reply
Posts: 25
Topic starter
(@nando4)
Eminent Member
Joined: 7 years ago

Unfortunately problem still persists even after the fix of adding "$args['body'] = addslashes($args['body']);" to "function addTopic($post, $forumID)".

Reply
7 Replies
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5911

@nando4,

please provide us some examples. 

Reply
(@nando4)
Joined: 7 years ago

Eminent Member
Posts: 25

@astghik, the code block at https://egpu.io/mid-2015-15-inch-macbook-pro-egpu-master-thread/ beginning with

echo -off
fs0:
\EFI\Boot\apple_set_os.efi

Sees the \EFI\Boot\apple_set_os.efi changed to EFIBootapple_set_os.efi in the crossposted forum post. Had to manually edit the wpforo post to re-insert the backslashes so if you look at the forum post it isn't a reflection of what the 2.1.2 crossposting plugin is doing.

Consider doing your own testing with the above code block to confirm.

Reply
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5911

@nando4,

Has the topic be crossposted after the last update? 

Reply
(@nando4)
Joined: 7 years ago

Eminent Member
Posts: 25

@astghik, just to be sure, quoted you in the original article, then viewed the crossposted post and you see, the slashes are gone. Then undid this change in wp_post, then editted the wpforo post, adding slashes back in.

 

image
Reply
(@nando4)
Joined: 7 years ago

Eminent Member
Posts: 25

Note: I am editting, not adding a topic. So shouldn't you also have a

"$args['body'] = addslashes($args['body']);" call in "editTopic($post, $forumID, $topicID)" as you added to addTopic?

Reply
(@nando4)
Joined: 7 years ago

Eminent Member
Posts: 25

Well, that (adding the addslashes also to editTopic) fixed it. Consider including that as a fix in 2.1.3

Reply
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5911

sure @nando4,

this will be added in the next update. 

Reply
Share:
Scroll to top