View Issue Details

IDProjectCategoryView StatusLast Update
0000879The World of SecfeniaNotificationpublic2017-09-19 11:57
Reporteruser113Assigned Todaviceroy  
PrioritylowSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.5 
Target Version3.0.6Fixed in Version3.0.6 
Summary0000879: PHP is escaping ASCII CR+LF special characters from the in-game calendar
DescriptionThe "Viceroyalty Calendar", and potentially the player's personal calendar, allow text to be input within a <textarea> tag, but when text within the <textarea> tag is formatted with a newline the ASCII CR+LF special characters are escaped. Upon adding an event to a calendar with the "\r\n" escaped characters within, the backslashes are again escaped, littering the calendar event with "rn" artifacts instead of the desired newlines.
Steps To Reproduce1. Navigate to "My Calendar"
2. Add an event
3. Within the <textarea> format text, including multiple newlines / line breaks.
4. Preview the text area; notice the escaped line breaks which are now formatted as "\r\n".
5. Add the event
6. Return to the personal calendar, and view the newly created event with stripped "rn" artifacts.
Additional InformationPotentially a Windows operating system only issue with PHP? I have not texted on Mac or Unix operating systems.
TagsNo tags attached.
Attached Files

Activities

user113

2017-09-18 20:42

  ~0000600

Also, since it's a very minor issue and a separate bug report really does not need to be created just for it: "My Calendar" is misspelled as "My Calender" at https://www.secfenia.org/my_cal.php

daviceroy

2017-09-19 11:57

administrator   ~0000601

Fixed the spelling issue as well as the return line issue

Issue History

Date Modified Username Field Change
2017-09-18 20:34 user113 New Issue
2017-09-18 20:34 user113 Status new => assigned
2017-09-18 20:34 user113 Assigned To => testing
2017-09-18 20:34 user113 File Added: The World of Secfenia_ My Personal Calender 2017_09_18 (20_24_30).png
2017-09-18 20:34 user113 File Added: The World of Secfenia_ My Personal Calender 2017_09_18 (20_24_50).png
2017-09-18 20:34 user113 File Added: The World of Secfenia_ My Calender Event Details 2017_09_18 (20_26_30).png
2017-09-18 20:42 user113 Note Added: 0000600
2017-09-19 11:57 daviceroy Target Version => 3.0.6
2017-09-19 11:57 daviceroy Assigned To testing => daviceroy
2017-09-19 11:57 daviceroy Status assigned => resolved
2017-09-19 11:57 daviceroy Resolution open => fixed
2017-09-19 11:57 daviceroy Fixed in Version => 3.0.6
2017-09-19 11:57 daviceroy Note Added: 0000601