GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Folder that exists causes file handler to return null file. · Issue #117 · Ktt-Development/simplehttpserver

This repository was archived by the owner on Jul 31, 2022. It is now read-only.
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Folder that exists causes file handler to return null file. #117

Copy link
Copy link
Closed
#118
Closed
Folder that exists causes file handler to return null file.#117
#118
Copy link
Assignees
Katsute
Labels
bugSomething isn't working as expectedSomething isn't working as expected
Milestone
4.2.0

Description

@Katsute
Katsute
opened on Nov 16, 2020
Issue body actions

This issue seems to be caused by line 173, but it is unclear if a change would break anything.

simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/DirectoryEntry.java

Lines 171 to 175 in d15bc78

if(entry == null){ // add new entry if not already added and file exists
final File file = getFile(path);
return file != null && !file.exists()
? files.put(context, new FileEntry(file, adapter, loadingOption))
: null;

Activity

  1. Katsute
    added
    bugSomething isn't working as expectedSomething isn't working as expected
    on Nov 16, 2020
  2. Katsute
    added this to the 4.2.0 milestone on Nov 16, 2020
  3. Katsute
    self-assigned this
    on Nov 16, 2020
  4. Katsute
    added a commit that references this issue on Nov 16, 2020

    Fix #117

    This issue will close once commit ab1a8fd is merged into the 'main' branch.
    ab1a8fd
  5. Katsute
    closed this as completedin #118on Nov 17, 2020
  6. Katsute
    added a commit that references this issue on Nov 17, 2020

    Fixed issue where file handler would sometimes return null for existi…

    This issue will close once commit e35aa59 is merged into the 'main' branch.
    e35aa59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Katsute
    Katsute

Labels

bugSomething isn't working as expectedSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    • 4.2.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.