The show submission process removes backslashes from the notes #33

Open
opened 2024-04-09 14:53:30 +00:00 by davmo · 1 comment
Owner

There was a problem with show 4088 which was sent in on 2024-03-28 (or thereabouts). The show notes contained Bash scripts with \n sequences which had had the \ backslashes removed.

We had this problem with the old PHP code, which was apparently fixed. In that code stripslashes was being run against the notes which may have been the problem.

Is it possible the PHP code on the hub is removing these backslashes? Is there a log that shows the incoming data so we can be sure these characters were actually sent?

There was a problem with show 4088 which was sent in on 2024-03-28 (or thereabouts). The show notes contained Bash scripts with `\n` sequences which had had the `\` backslashes removed. We had this problem with the old PHP code, which was apparently fixed. In that code `stripslashes` was being run against the notes which may have been the problem. Is it possible the PHP code on the hub is removing these backslashes? Is there a log that shows the incoming data so we can be sure these characters were actually sent?
Author
Owner

Problem detected with show 4113, though it was uploaded to the reserve queue some (unknown) time ago.

Problem detected with show 4113, though it was uploaded to the reserve queue some (unknown) time ago.
ken_fallon was assigned by davmo 2024-05-03 10:29:25 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HPR/hpr_hub#33
No description provided.