Sunday, 2011-09-04

*** Joins: tsnfoo (~fulekia@ws-imac27.test.denison.edu)00:10
*** Quits: micahg (~micahg@ubuntu/member/micahg) (Remote host closed the connection)00:53
*** Joins: [KK]Kirill (~Miranda@7-68-52-95.baltnet.ru)01:33
*** Quits: kirillka (~Miranda@154-80-52-95.baltnet.ru) (Ping timeout: 260 seconds)01:36
GitHub71[mantisbt] davidhicks tagged release-1.2.8 at ab8dafb: http://git.io/qQKquw01:44
GitHub71[mantisbt/release-1.2.8] Bump version to 1.2.8 and update release notes - David Hicks01:44
dhx1jreese: ping :)02:05
*** Quits: Ragnor (~Ragnor@dslb-178-009-159-169.pools.arcor-ip.net) (Quit: leaving)02:23
*** Joins: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz)02:28
*** [KK]Kirill is now known as kirillka02:51
*** Quits: Deepy_ (freenode@109-124-157-251.customer.t3.se) (Ping timeout: 240 seconds)03:04
*** Joins: Deepy_ (freenode@109-124-157-251.customer.t3.se)03:06
*** Quits: kirillka (~Miranda@7-68-52-95.baltnet.ru) (Quit: kirillka)04:06
*** Joins: soc42 (~soc42@g226199151.adsl.alicedsl.de)04:41
*** Joins: Paul24 (~IceChat09@2001:470:9310:aaaa:8d1f:ffe8:866e:4d17)04:59
Paul24moo04:59
Paul24dhx1: some servers dont set script_name05:05
GitHub89[mantisbt] grangeway pushed 1 new commit to master: http://git.io/rK0zcg05:18
GitHub89[mantisbt/master] Using just script_name is OK, but it's feasible that SCRIPT_NAME isn't set - this is more common in (badly configured?) nginx servers - Paul Richards05:18
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Remote host closed the connection)06:43
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au)06:44
dhx1Paul24: all of that code is within a check:06:45
dhx1if ( isset ( $_SERVER['SCRIPT_NAME'] ) )06:45
dhx1therefore:06:46
dhx1if ( !isset( $_SERVER['SCRIPT_NAME'] )) {06:46
dhx1is always false06:46
dhx1and the code never executes06:46
Paul24erm06:54
Paul24wtf06:54
Paul24yea06:54
Paul24that should probably not have been there [the top bit]06:54
dhx1:)06:54
Paul24and then we should use phpself or scriptname06:54
Paul24we need to strip out \0's06:55
dhx1PHP_SELF isn't reliable to use as the physical path06:55
Paul24filter_var? :)06:55
* Paul24 prods dhx107:08
Paul24dhx1: do you have teamviewer?07:09
dhx1Paul24: not sure? do PHP strings not stop at \0?07:09
dhx1Paul24: doubt it... Linux07:09
Paul24http://www.teamviewer.com/en/download/index.aspx07:10
Paul24see if you can grab that quickly07:10
Paul24so you can see sscreen briefly07:10
dhx1Paul24: TV is no go for me07:11
Paul24hmm?07:11
Paul24wha? :)07:11
Paul24oh07:11
dhx1binaries that I don't want to run... but couldn't run anyway due to the custom setup I have07:12
Paul24anyway07:14
Paul24i've completely broken my db :P07:14
Paul24no pages load in firefox now07:14
Paul24or IE :)07:14
Paul24or well view bugs, manage projects07:14
Paul24anything that shows categories, or tags07:15
GitHub138[mantisbt] rombert pushed 1 new commit to master-1.2.x: http://git.io/RHPpIQ07:17
GitHub138[mantisbt/master-1.2.x] Allow more control over the excel api's output - Robert Munteanu07:17
Paul24so i'm just wondering how to fix that07:17
GitHub89[mantisbt] rombert pushed 1 new commit to master: http://git.io/Jwif0A07:17
GitHub89[mantisbt/master] Allow more control over the excel api's output - Robert Munteanu07:17
Paul24we need to stop working on master :(07:22
dhx1yeah07:28
Paul24at least, i'm not sure that's something we'd introduce in a 1.2.8 release07:32
dhx1yeah I don't like that commit being in master-1.2.x07:36
dhx1it's a feature07:36
dhx1https://github.com/mantisbt/mantisbt/commit/6ede60d3db9e202044f135001589cce941ff6f0f07:36
dhx1is massive07:36
dhx1but at least it's a bug fix... and has been part of the master branch for over a year with no issue07:36
Paul24also07:48
Paul24not sure about his user id thing07:48
dhx1neither07:48
Paul24if you look, I basically apply the same logic as we do at start07:51
Paul24to display list of valid 'actions'07:51
Paul24and then check the action is one of the valid ones07:51
Paul24dhx1: pretty sure my commit can't cause what he's seeing08:11
Paul24*unless* my project override config fix is in someway 'wrong'08:12
Paul24but as I think that's probably a correct fix08:12
Paul24could be something else does something silly08:13
dhx1he's right about filter_var08:18
dhx1in that we can't use it in master-1.2.x08:18
Paul24heh08:19
Paul24just skip the filter_var thing in 1-2.x08:19
Paul24[that was more there for phpself08:19
Paul24so in theory, I dont think it's needed for just scriptname08:19
Paul24having said that, it's probably best to leave in master08:19
Paul24such that if we end up adding in phpself logic, it reminds us08:20
Paul24i'm still not sure what to do about \0's08:20
dhx1$text = str_replace("\0", "", $text);08:26
Paul24yea, I'm not sure i like that idea ;p08:27
Paul24i.e. we'd basically do that in gpc_get_String08:27
dhx1yeah08:27
dhx1it's fine with UTF-8 because \0 is reserved08:27
Paul24was thinking about filter_var(FILTER_UNSAFE_RAW, FILTER_FLAG_ENCODE_LOW)08:28
Paul24i.e. encode any low characters <32 ascii08:30
dhx1UTF-8...08:32
Paul24? :)08:32
dhx1some of those low characters may have special meaning in UTF-8?08:33
dhx1I don't think so though... I think 0-127 map directly to ASCII...08:33
Paul24image = basename(filter_input(INPUT_GET, 'src', FILTER_UNSAFE_RAW, FILTER_REQUIRE_SCALAR | FILTER_FLAG_STRIP_LOW));08:34
Paul24 08:34
Paul24is example from user comment08:34
dhx1complicated? :o08:35
Paul24http://www.php.net/manual/en/filter.configuration.php08:37
Paul24hmm08:37
* Paul24 wonders how you tell if something is already filtered then...08:37
dhx1I think \0 is the only special character we'd need to take care of anyway08:38
dhx1because some functions truncate at the first \0, some don't...08:38
Paul24yea, i'm just aware that php has the filter stuff now08:39
Paul24for this sort of stuff08:39
Paul24:)08:39
Paul24so for example, you can configure a default [as per above] and that gets done before magic quotes or anything sees it08:39
dhx1magic quotes = removed08:44
dhx1it doesn't exist (for good reason) :)08:44
Paul24ya08:45
Paul24you know what i mean though08:45
dhx1yep08:51
*** Quits: soc42 (~soc42@g226199151.adsl.alicedsl.de) (Remote host closed the connection)08:52
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Ping timeout: 245 seconds)09:05
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)09:07
Paul24although \0 could be good for now i guess09:07
Paul24erm str_replace even09:07
Paul24in gpc_get_string09:07
Paul24dhx1: you still up?09:46
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Remote host closed the connection)09:58
*** Joins: soc42 (~soc42@g226199151.adsl.alicedsl.de)10:10
*** Joins: cgraefe (5f75c9c1@gateway/web/freenode/ip.95.117.201.193)11:32
*** Quits: cgraefe (5f75c9c1@gateway/web/freenode/ip.95.117.201.193) (Quit: Page closed)11:39
*** Joins: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net)16:11
*** Quits: soc42 (~soc42@g226199151.adsl.alicedsl.de) (Remote host closed the connection)16:54
*** Quits: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz) (Quit: visit http://wormscesky.cz)17:04
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 240 seconds)18:05
*** Joins: manitu (~mani@pD9E82138.dip.t-dialin.net)18:12
manituhi ho.. is there an "addon" for mantis which can notify changes? an irc bot18:13
manitu:x18:13
manitufound something with google, but its from 2006 and no longer online18:13
*** Joins: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz)18:14
*** Quits: Paul24 (~IceChat09@2001:470:9310:aaaa:8d1f:ffe8:866e:4d17) (Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak)19:15
*** Quits: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz) (Quit: visit http://wormscesky.cz)19:30
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)20:00
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)20:00
*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 276 seconds)23:01

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!