AI Assistant
Notifications
Clear all

backslashes in blog get stripped in crossposted wpforo post

12 Posts
3 Users
0 Reactions
1,719 Views
Posts: 25
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nando4)
Eminent Member
Joined: 9 years ago
[#5875]

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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@elvina)
Support
Joined: 7 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: 9 years ago

Eminent Member
Posts: 25
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nando4)
Eminent Member
Joined: 9 years ago

Nevermind. Got it updated.


Reply
Posts: 25
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nando4)
Eminent Member
Joined: 9 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: 8 years ago

Illustrious Member
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@nando4,

please provide us some examples. 


Reply
(@nando4)
Joined: 9 years ago

Eminent Member
Posts: 25
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@nando4,

Has the topic be crossposted after the last update? 


Reply
(@nando4)
Joined: 9 years ago

Eminent Member
Posts: 25
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 9 years ago

Eminent Member
Posts: 25
Astghik
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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: 9 years ago

Eminent Member
Posts: 25
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

sure @nando4,

this will be added in the next update. 


Reply
Share:
Scroll to top