pmsumner: (tatoo)
Phil was an idiot. He spent a lot of time researching and implementing a method that would turn all ampersands ("&") within his journal entries into code - so that they wouldn't interfere with the ampersands used within the string sent to the server.



For example, the string sent to the server when posting an entry could be:
"user=phil99&pass=WrongPass&mode=postevent&event=This+Is+a+test+post&security=private"

But what happens when you have an ampersand within your journal entry? You have to escape them - and turn them into codes that won't interfere with what you send to the server. So "Test&Test" would become "Test%26Test". Make sense?

Phil had done this, and implemented it using the URI::Escape module, but Phil had put this bit of code in the wrong place, and was escaping the wrong string. *blushes* So the ampersands in my test posts weren't being escaped, and were interfering with the post, and hence were making the "security" section (at the end) invalid.

Phil is a moron!
Music:: Jackass on E4
Mood:: 'embarrassed' embarrassed

Reply

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

May

SunMonTueWedThuFriSat
      1
 
2
 
3
 
4
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30
 
31