Hex Artifact Content
Not logged in

Artifact 85ac932aff45de5925657f1d48869e1e0dae70c6:

Ticket change [85ac932aff] - New ticket [e95f7c9337] HTTPS CGI variable might be "ON", not "on".. by anonymous 2011-05-08 13:07:14.
0000: 44 20 32 30 31 31 2d 30 35 2d 30 38 54 31 33 3a  D 2011-05-08T13:
0010: 30 37 3a 31 34 2e 36 37 32 0a 4a 20 63 6f 6d 6d  07:14.672.J comm
0020: 65 6e 74 20 54 68 65 5c 73 4a 65 74 74 79 5c 73  ent The\sJetty\s
0030: 77 65 62 5c 73 73 65 72 76 65 72 5c 73 73 65 74  web\sserver\sset
0040: 73 5c 73 74 68 65 5c 73 43 47 49 5c 73 48 54 54  s\sthe\sCGI\sHTT
0050: 50 53 5c 73 65 6e 76 69 72 6f 6e 6d 65 6e 74 5c  PS\senvironment\
0060: 73 76 61 72 69 61 62 6c 65 5c 73 74 6f 5c 73 27  svariable\sto\s'
0070: 4f 4e 27 2c 5c 73 6e 6f 74 5c 73 27 6f 6e 27 5c  ON',\snot\s'on'\
0080: 73 6c 69 6b 65 5c 73 6f 74 68 65 72 5c 73 77 65  slike\sother\swe
0090: 62 5c 73 73 65 72 76 65 72 73 2e 5c 73 54 68 69  b\sservers.\sThi
00a0: 73 5c 73 62 72 65 61 6b 73 5c 73 72 65 64 69 72  s\sbreaks\sredir
00b0: 65 63 74 73 5c 73 61 73 5c 73 66 6f 73 73 69 6c  ects\sas\sfossil
00c0: 5c 73 67 65 74 73 5c 73 74 68 65 5c 73 62 61 73  \sgets\sthe\sbas
00d0: 65 5c 73 55 52 4c 5c 73 77 72 6f 6e 67 2e 5c 72  e\sURL\swrong.\r
00e0: 5c 6e 5c 72 5c 6e 43 68 61 6e 67 69 6e 67 5c 73  \n\r\nChanging\s
00f0: 6c 69 6e 65 5c 73 38 31 31 5c 73 6f 66 5c 73 6d  line\s811\sof\sm
0100: 61 69 6e 2e 63 5c 73 74 6f 5c 72 5c 6e 5c 72 5c  ain.c\sto\r\n\r\
0110: 6e 5c 73 5c 73 5c 73 5c 73 69 66 28 5c 73 73 74  n\s\s\s\sif(\sst
0120: 72 63 6d 70 28 7a 4d 6f 64 65 2c 22 6f 6e 22 29  rcmp(zMode,"on")
0130: 3d 3d 30 5c 73 7c 7c 5c 73 73 74 72 63 6d 70 28  ==0\s||\sstrcmp(
0140: 7a 4d 6f 64 65 2c 22 4f 4e 22 29 3d 3d 30 5c 73  zMode,"ON")==0\s
0150: 29 7b 5c 72 5c 6e 5c 72 5c 6e 73 6f 6c 76 65 73  ){\r\n\r\nsolves
0160: 5c 73 74 68 65 5c 73 70 72 6f 62 6c 65 6d 2e 0a  \sthe\sproblem..
0170: 4a 20 66 6f 75 6e 64 69 6e 20 30 34 37 65 30 36  J foundin 047e06
0180: 31 39 33 62 0a 4a 20 70 72 69 76 61 74 65 5f 63  193b.J private_c
0190: 6f 6e 74 61 63 74 20 35 30 64 61 37 34 31 32 62  ontact 50da7412b
01a0: 38 62 38 30 32 62 31 63 39 66 37 64 64 63 32 30  8b802b1c9f7ddc20
01b0: 34 32 37 30 64 30 36 39 64 33 63 32 65 32 62 0a  4270d069d3c2e2b.
01c0: 4a 20 73 65 76 65 72 69 74 79 20 49 6d 70 6f 72  J severity Impor
01d0: 74 61 6e 74 0a 4a 20 73 74 61 74 75 73 20 4f 70  tant.J status Op
01e0: 65 6e 0a 4a 20 74 69 74 6c 65 20 48 54 54 50 53  en.J title HTTPS
01f0: 5c 73 43 47 49 5c 73 76 61 72 69 61 62 6c 65 5c  \sCGI\svariable\
0200: 73 6d 69 67 68 74 5c 73 62 65 5c 73 22 4f 4e 22  smight\sbe\s"ON"
0210: 2c 5c 73 6e 6f 74 5c 73 22 6f 6e 22 2e 0a 4a 20  ,\snot\s"on"..J 
0220: 74 79 70 65 20 43 6f 64 65 5f 44 65 66 65 63 74  type Code_Defect
0230: 0a 4b 20 65 39 35 66 37 63 39 33 33 37 30 62 65  .K e95f7c93370be
0240: 38 63 38 36 38 39 35 38 62 34 38 63 38 63 34 62  8c868958b48c8c4b
0250: 66 39 34 65 66 39 64 30 66 34 36 0a 55 20 61 6e  f94ef9d0f46.U an
0260: 6f 6e 79 6d 6f 75 73 0a 5a 20 65 65 61 64 64 30  onymous.Z eeadd0
0270: 35 30 62 34 62 31 32 31 62 65 38 38 64 62 32 32  50b4b121be88db22
0280: 35 32 34 65 65 32 64 35 65 62 0a                 524ee2d5eb.