<div dir="ltr">I could not replicate this exact problem on Windows 10 with git bash.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 5:26 PM, Wojciech Trocki <span dir="ltr"><<a href="mailto:wtrocki@redhat.com" target="_blank">wtrocki@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font size="4">Introduction</font></div><div><br></div>RainCatcher allows users to mount sync endpoints to custom routes.<div>This can fail when someone is passing invalid regular expression path to express[0]</div><div><br>In this particular example path can be passed as first argument to [1] method.<br>This argument will be used to create route, which fails later on windows.</div><div><br></div><div>I'm trying out now to replicate problem on one of the windows machines I have access to. </div><div>Problem can be replicated on any machine when passing invalid regexp as argument to [1].</div><div><br></div><div><font size="4">Questions:</font></div><div><br></div><div><b>1) Is sync api path location in [1] customized? </b></div><div><b>2) Is it possible to replicate this problem on latest release (1.1.0) without any changes?</b></div><div><br></div><div>PS: It's good to send package.json from this project will help us to see what versions we can use to replicate this issue.</div><div><br></div><div>[0] <a href="https://github.com/expressjs/express/issues/2034" target="_blank">https://github.com/express<wbr>js/express/issues/2034</a></div><div>[1] <a href="https://github.com/feedhenry-raincatcher/raincatcher-core/blob/v0.0.5/demo/server/src/modules/index.ts#L70" target="_blank">https://github.com/feedhen<wbr>ry-raincatcher/raincatcher-<wbr>core/blob/v0.0.5/demo/server/<wbr>src/modules/index.ts#L70</a></div><div>[2] <a href="https://github.com/feedhenry-raincatcher/raincatcher-core/blob/v0.0.5/cloud/datasync/src/web/SyncWebExpress.ts#L26" target="_blank">https://github.com/feedhen<wbr>ry-raincatcher/raincatcher-<wbr>core/blob/v0.0.5/cloud/<wbr>datasync/src/web/SyncWebExpres<wbr>s.ts#L26</a></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 5:13 PM, Paolo Haji <span dir="ltr"><<a href="mailto:phajidec@redhat.com" target="_blank">phajidec@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">From what I can guess from the output it might be a different behavior of regex parsing on windows?<div><br></div><div><font face="arial, helvetica, sans-serif">Looks like </font><font face="monospace, monospace">/^\(?:([^\/]+?))\/?$/ </font><font face="arial, helvetica, sans-serif">should be</font><font face="monospace, monospace"> /^\(?:([^\/]+?)\)\/?$/</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">I'll try to make a minimal reproduction and open an issue at either path-to-regexp or express itself.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Do you guys have a package-lock or shrinkwrap file to attach? Would help reproducing the issue. IMO it should affect non-windows environments too.</font></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_7942137841811048765m_8925478011674430764h5">On Thu, Nov 30, 2017 at 3:03 PM, Darach Cawley <span dir="ltr"><<a href="mailto:dcawley@redhat.com" target="_blank">dcawley@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7942137841811048765m_8925478011674430764h5"><div dir="ltr">Hi guys,<div><br></div><div>Have you seen this issue before on starting the server for the first time? </div><div>See screenshot below.</div><div><br></div><div><b>NOTE: Using Node 6 on Windows.</b></div><div><br></div><div><img src="cid:ii_1600de06af806b51" alt="Inline image 1" width="527" height="544"></div><div><br></div><div>Any help would be really help.</div><div><br></div><div>Thanks,<span class="m_7942137841811048765m_8925478011674430764m_8988657643367342124HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_7942137841811048765m_8925478011674430764m_8988657643367342124m_-6099792312080333347gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important">Darach</span> <span style="margin:0px!important;padding:0px!important">Cawley</span></p><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"></p><span style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important">Senior Consultant</span> </span><span style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px"></span><br style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important">Red Hat <span style="margin:0px!important;padding:0px!important">Mobile</span></p><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important"><a href="mailto:dcawley@redhat.com" target="_blank">dcawley@redhat.com</a></span>     </span><span href="tel:051810130" style="margin:0px!important;padding:0px!important">T: <a style="margin:0px!important;padding:0px!important">051810130</a>    </span> <span style="margin:0px!important;padding:0px!important">IM: <span style="margin:0px!important;padding:0px!important">dcawley</span></span></p><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important"><a href="http://www.redhat.com" target="_blank">www.redhat.com</a> | <span style="margin:0px!important;padding:0px!important">TRIED. TESTED. TRUSTED. | <a href="http://redhat.com/trusted" target="_blank">redhat.com/trusted</a></span></span></p></div></div></div></div></div></div></div>
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Feedhenry-raincatcher mailing list<br>
<a href="mailto:Feedhenry-raincatcher@redhat.com" target="_blank">Feedhenry-raincatcher@redhat.c<wbr>om</a><br>
<a href="https://www.redhat.com/mailman/listinfo/feedhenry-raincatcher" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/feedhenry-raincatche<wbr>r</a><br>
<br></blockquote></div><span class="m_7942137841811048765m_8925478011674430764HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_7942137841811048765m_8925478011674430764m_8988657643367342124gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>PAOLO</span> <span>HAJI</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>SOFTWARE ENGINEER, RED HAT MOBILE APPLICATION PLATFORM</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>Brasil</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:phaji@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">phaji@redhat.com</a>   </span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr></tr></tbody></table></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Feedhenry-raincatcher mailing list<br>
<a href="mailto:Feedhenry-raincatcher@redhat.com" target="_blank">Feedhenry-raincatcher@redhat.c<wbr>om</a><br>
<a href="https://www.redhat.com/mailman/listinfo/feedhenry-raincatcher" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/feedhenry-raincatche<wbr>r</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div class="m_7942137841811048765m_8925478011674430764gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>WOJCIECH</span> <span>TROCKI</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px;text-decoration:none" target="_blank">Red Hat <span>Mobile</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span>IM: <span>wtrocki</span></span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td></tr></tbody></table></div></div></div></div></div></div></div></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>WOJCIECH</span> <span>TROCKI</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px;text-decoration:none" target="_blank">Red Hat <span>Mobile</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span>IM: <span>wtrocki</span></span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td></tr></tbody></table></div></div></div></div></div></div></div></div></div>
</div>