backslash ignored

Questionsbackslash ignored
Igor asked 9 years ago

Hello,
my database contains data with backslash:
img316958_v01_b.jpg;img316958_v02_b.jpg;
why backslash ignored to views?
img316958_v01_b.jpg;img316958_v02_b.jpg;

2 Answers
Abu Ghufran answered 9 years ago

Hi,

I'll regenerate this case and update you on this ticket.

Abu Ghufran answered 9 years ago

The backslash () is a special character in both PHP and JSON. Both languages use it to escape special characters in strings and in order to represent a backslash correctly in strings you have to prepend another backslash to it, both in PHP and JSON.

http://stackoverflow.com/a/32057601/385377http://stackoverflow.com/a/32057601/385377

Replace it with / or use \

Your Answer

16 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?