Filenames ending with .package.lst are causing problems #61
Whissi
commented 2022-08-25 17:13:11 +02:00
```
$ rpm -qa > /tmp/foo-server.package.lst
$ curl -F'file=@/tmp/foo-server.package.lst' https://0x0.st
https://0x0.st/o9YF.package.
```
```
$ curl "https://0x0.st/o9YF.package."
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
```
```
$ curl "https://0x0.st/o9YF.package"
Process 83 stopped
* thread #1: tid = 83, 0x00007f1a62c8ae00, name = 'fhost'
frame #0:
Process 83 stopped
* thread #8: tid = 83, 0x00007f1a62c8aad0 fhost`get(path='/o9YF.package') + 27 at fhost.c:139, name = 'fhost/responder', stop reason = invalid address (fault address: 0x30)
frame #0: {3:#018x} fhost`get(path='/o9YF.package') + 27 at fhost.c:139
136 get(SrvContext *ctx, const char *path)
137 {
138 StoredObj *obj = ctx->store->query(shurl_debase(path));
-> 139 switch (obj->type) {
140 case ObjTypeFile:
141 ctx->serve_file_id(obj->id);
142 break;
(lldb) q
```
mia
referenced this issue from a commit 2022-12-01 01:28:17 +01:00
Fix handling double file name extensions
mia
closed this issue 2022-12-01 01:28:17 +01:00
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#61
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?