Feed of "laudom/http.sh"https://git.sakamoto.pl/laudom/http.sh2024-03-29T02:22:34+01:00A webserver/web framework written entirely in Bash. Fully configurable, with SSL support, vhosts and many other features.domi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001009: https://git.sakamoto.pl/laudom/http.sh/issues/11#issuecomment-344Cookie handling is bork
<p dir="auto">Fixed in 062741a6</p>
Cookie handling is bork
<p dir="auto">Fixed in 062741a6</p>
domija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/10">laudom/http.sh#10</a>2024-03-01T20:49:56+01:001001: https://git.sakamoto.pl/laudom/http.sh/issues/10<p dir="auto">Some URL with special characters and spaces don't parse correctly.</p>
10#Special characters in URL may cause problemsdomija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/9">laudom/http.sh#9</a>2024-03-01T20:49:56+01:00998: https://git.sakamoto.pl/laudom/http.sh/issues/9#issuecomment-340Improper handling of non-existing files
<p dir="auto">changed the description</p>
Improper handling of non-existing files
<p dir="auto">changed the description</p>
domija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001011: https://git.sakamoto.pl/laudom/http.sh/issues/11#issuecomment-344Cookie handling is bork
<p dir="auto">Fixed in 062741a6</p>
Cookie handling is bork
<p dir="auto">Fixed in 062741a6</p>
domija@sdomi.pldomi closed issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001007: https://git.sakamoto.pl/laudom/http.sh/issues/11#issuecomment-343Cookie handling is borkCookie handling is borkdomija@sdomi.pldomi closed issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001008: https://git.sakamoto.pl/laudom/http.sh/issues/11#issuecomment-343Cookie handling is borkCookie handling is borkdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001004: https://git.sakamoto.pl/laudom/http.sh/issues/11<p dir="auto"><code>Cookie: sh_session=lauraiscute asdf</code> --> works</p>
<p dir="auto"><code>Cookie: sh_session=lauraiscute username=domi</code> --> works</p>
<p dir="auto"><code>Cookie: sh_session=lauraiscute</code> --> WHAT IS A COOKIE</p>
11#Cookie handling is borkdomija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001010: https://git.sakamoto.pl/laudom/http.sh/issues/11#issuecomment-344Cookie handling is bork
<p dir="auto">Fixed in 062741a6</p>
Cookie handling is bork
<p dir="auto">Fixed in 062741a6</p>
domija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/9">laudom/http.sh#9</a>2024-03-01T20:49:56+01:00997: https://git.sakamoto.pl/laudom/http.sh/issues/9#issuecomment-340Improper handling of non-existing files
<p dir="auto">changed the description</p>
Improper handling of non-existing files
<p dir="auto">changed the description</p>
domija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/10">laudom/http.sh#10</a>2024-03-01T20:49:56+01:001000: https://git.sakamoto.pl/laudom/http.sh/issues/10<p dir="auto">Some URL with special characters and spaces don't parse correctly.</p>
10#Special characters in URL may cause problemsdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001003: https://git.sakamoto.pl/laudom/http.sh/issues/11<p dir="auto"><code>Cookie: sh_session=lauraiscute asdf</code> --> works</p>
<p dir="auto"><code>Cookie: sh_session=lauraiscute username=domi</code> --> works</p>
<p dir="auto"><code>Cookie: sh_session=lauraiscute</code> --> WHAT IS A COOKIE</p>
11#Cookie handling is borkdomija@sdomi.pldomi closed issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001006: https://git.sakamoto.pl/laudom/http.sh/issues/11#issuecomment-343Cookie handling is borkCookie handling is borkdomija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/9">laudom/http.sh#9</a>2024-03-01T20:49:56+01:00999: https://git.sakamoto.pl/laudom/http.sh/issues/9#issuecomment-340Improper handling of non-existing files
<p dir="auto">changed the description</p>
Improper handling of non-existing files
<p dir="auto">changed the description</p>
domija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/10">laudom/http.sh#10</a>2024-03-01T20:49:56+01:001002: https://git.sakamoto.pl/laudom/http.sh/issues/10<p dir="auto">Some URL with special characters and spaces don't parse correctly.</p>
10#Special characters in URL may cause problemsdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/11">laudom/http.sh#11</a>2024-03-01T20:49:56+01:001005: https://git.sakamoto.pl/laudom/http.sh/issues/11<p dir="auto"><code>Cookie: sh_session=lauraiscute asdf</code> --> works</p>
<p dir="auto"><code>Cookie: sh_session=lauraiscute username=domi</code> --> works</p>
<p dir="auto"><code>Cookie: sh_session=lauraiscute</code> --> WHAT IS A COOKIE</p>
11#Cookie handling is borkdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/7">laudom/http.sh#7</a>2024-03-01T20:49:55+01:00989: https://git.sakamoto.pl/laudom/http.sh/issues/7<p dir="auto">could be implementing by passing another array (post_multipart_names?) with names corresponding to fields in post_multipart.</p>
7#post_multipart should somehow pass on field namesdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/6">laudom/http.sh#6</a>2024-03-01T20:49:55+01:00982: https://git.sakamoto.pl/laudom/http.sh/issues/6<ul dir="auto">
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="2"/>Better handling for running inside Docker</li>
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="50"/>Default .gitignore for projects</li>
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="88" checked=""/>Better default project init</li>
</ul>
6#Improve initdomija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/6">laudom/http.sh#6</a>2024-03-01T20:49:55+01:00985: https://git.sakamoto.pl/laudom/http.sh/issues/6#issuecomment-339Improve init
<p dir="auto">marked the checklist item <strong>Better default project init</strong> as completed</p>
Improve init
<p dir="auto">marked the checklist item <strong>Better default project init</strong> as completed</p>
domija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/4">laudom/http.sh#4</a>2024-03-01T20:49:55+01:00976: https://git.sakamoto.pl/laudom/http.sh/issues/4<ul dir="auto">
<li><code>curl http://localhost:1337/ -d "asdf=\o/"</code> --> HTTP.sh doesn't respond</li>
<li><code>curl http://localhost:1337/ -d "asdf=\\o/"</code> --> same as above</li>
<li><code>curl http://localhost:1337/ -d "asdf=o/"</code> --> fine</li>
</ul>
4#Backlash borks POSTdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/5">laudom/http.sh#5</a>2024-03-01T20:49:55+01:00979: https://git.sakamoto.pl/laudom/http.sh/issues/5<p dir="auto">should prohibit commiting configuration and other instance values. Another way to fix would be to actually move everything that's not strictly code out of the repo (TBD)</p>
5#Better project-wide .gitignoredomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/9">laudom/http.sh#9</a>2024-03-01T20:49:55+01:00994: https://git.sakamoto.pl/laudom/http.sh/issues/9<p dir="auto">Assuming that directory <code>asdf</code> doesn't actually exist:</p>
<p dir="auto"><code>http://localhost:1337/asdf/</code> -> 404 (good!)</p>
<p dir="auto"><code>http://localhost:1337/asdf/a</code> -> 403 (bad!)</p>
<p dir="auto">This has something to do with how the URL escaping works - fortunately, it's not a security issue.</p>
9#Improper handling of non-existing filesdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/7">laudom/http.sh#7</a>2024-03-01T20:49:55+01:00988: https://git.sakamoto.pl/laudom/http.sh/issues/7<p dir="auto">could be implementing by passing another array (post_multipart_names?) with names corresponding to fields in post_multipart.</p>
7#post_multipart should somehow pass on field namesdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/8">laudom/http.sh#8</a>2024-03-01T20:49:55+01:00991: https://git.sakamoto.pl/laudom/http.sh/issues/8<p dir="auto"><a href="https://f.sakamoto.pl/3f6429d6-2cc8-4a67-82fb-308c9fede1d9file_175.jpg" target="_blank" rel="nofollow noopener"><img src="https://f.sakamoto.pl/3f6429d6-2cc8-4a67-82fb-308c9fede1d9file_175.jpg" alt=""/></a><br/>
<code>/api/?henlo_i_shouldn't_be_here</code></p>
<p dir="auto"><a href="https://f.sakamoto.pl/c702b09b-525f-480e-a562-2a4996575bebfile_176.jpg" target="_blank" rel="nofollow noopener"><img src="https://f.sakamoto.pl/c702b09b-525f-480e-a562-2a4996575bebfile_176.jpg" alt=""/></a><br/>
<code>/api/?henlo_i%20shouldn't_be_here</code></p>
<ul dir="auto">
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="226"/>fix r[url], as it shouldn't contain GET params</li>
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="279"/>investigate (and fix) whitespace mishandling</li>
</ul>
8#Bad URL parameter handlingdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/6">laudom/http.sh#6</a>2024-03-01T20:49:55+01:00984: https://git.sakamoto.pl/laudom/http.sh/issues/6<ul dir="auto">
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="2"/>Better handling for running inside Docker</li>
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="50"/>Default .gitignore for projects</li>
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="88" checked=""/>Better default project init</li>
</ul>
6#Improve initdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/4">laudom/http.sh#4</a>2024-03-01T20:49:55+01:00978: https://git.sakamoto.pl/laudom/http.sh/issues/4<ul dir="auto">
<li><code>curl http://localhost:1337/ -d "asdf=\o/"</code> --> HTTP.sh doesn't respond</li>
<li><code>curl http://localhost:1337/ -d "asdf=\\o/"</code> --> same as above</li>
<li><code>curl http://localhost:1337/ -d "asdf=o/"</code> --> fine</li>
</ul>
4#Backlash borks POSTdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/5">laudom/http.sh#5</a>2024-03-01T20:49:55+01:00981: https://git.sakamoto.pl/laudom/http.sh/issues/5<p dir="auto">should prohibit commiting configuration and other instance values. Another way to fix would be to actually move everything that's not strictly code out of the repo (TBD)</p>
5#Better project-wide .gitignoredomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/9">laudom/http.sh#9</a>2024-03-01T20:49:55+01:00996: https://git.sakamoto.pl/laudom/http.sh/issues/9<p dir="auto">Assuming that directory <code>asdf</code> doesn't actually exist:</p>
<p dir="auto"><code>http://localhost:1337/asdf/</code> -> 404 (good!)</p>
<p dir="auto"><code>http://localhost:1337/asdf/a</code> -> 403 (bad!)</p>
<p dir="auto">This has something to do with how the URL escaping works - fortunately, it's not a security issue.</p>
9#Improper handling of non-existing filesdomija@sdomi.pldomi commented on issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/6">laudom/http.sh#6</a>2024-03-01T20:49:55+01:00987: https://git.sakamoto.pl/laudom/http.sh/issues/6#issuecomment-339Improve init
<p dir="auto">marked the checklist item <strong>Better default project init</strong> as completed</p>
Improve init
<p dir="auto">marked the checklist item <strong>Better default project init</strong> as completed</p>
domija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/7">laudom/http.sh#7</a>2024-03-01T20:49:55+01:00990: https://git.sakamoto.pl/laudom/http.sh/issues/7<p dir="auto">could be implementing by passing another array (post_multipart_names?) with names corresponding to fields in post_multipart.</p>
7#post_multipart should somehow pass on field namesdomija@sdomi.pldomi opened issue <a href="https://git.sakamoto.pl/laudom/http.sh/issues/8">laudom/http.sh#8</a>2024-03-01T20:49:55+01:00993: https://git.sakamoto.pl/laudom/http.sh/issues/8<p dir="auto"><a href="https://f.sakamoto.pl/3f6429d6-2cc8-4a67-82fb-308c9fede1d9file_175.jpg" target="_blank" rel="nofollow noopener"><img src="https://f.sakamoto.pl/3f6429d6-2cc8-4a67-82fb-308c9fede1d9file_175.jpg" alt=""/></a><br/>
<code>/api/?henlo_i_shouldn't_be_here</code></p>
<p dir="auto"><a href="https://f.sakamoto.pl/c702b09b-525f-480e-a562-2a4996575bebfile_176.jpg" target="_blank" rel="nofollow noopener"><img src="https://f.sakamoto.pl/c702b09b-525f-480e-a562-2a4996575bebfile_176.jpg" alt=""/></a><br/>
<code>/api/?henlo_i%20shouldn't_be_here</code></p>
<ul dir="auto">
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="226"/>fix r[url], as it shouldn't contain GET params</li>
<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="279"/>investigate (and fix) whitespace mishandling</li>
</ul>
8#Bad URL parameter handlingdomija@sdomi.pl