Skip to content

requests for missing favicon.ico cause dash's index route to be served #152

Closed

Description

@ned2

I just noticed that when a favicon is not wired up, the automatic request for /favicon.ico by the browser results in the dash server returning its index route. This seems to be a consequence of there being a catchall redirecting all URLs that are not matched to the index route.

While probably not too harmful, this seems undesirable. One solution could be to include a default favicon, but perhaps it is also worth establishing whether the catchall behaviour is desirable?

Activity

  1. changed the title [-]failed requests for favicon cause dash's index route to be served[/-] [+]requests for missing favicon.ico cause dash's index route to be served[/+] on Oct 30, 2017
  2. rmarren1 commented on Sep 25, 2018

    @rmarren1
    Contributor

    I like the idea of having a default favicon, maybe the Dash logo? Or we can just add a default route for favicon.ico in Dash that returns nothing when there is no favicon.ico in the assets directory

  3. chriddyp commented on Sep 25, 2018

    @chriddyp
    Member

    Yeah, I like the idea of a built-in Dash favicon too.

  4. T4rk1n commented on Sep 25, 2018

    @T4rk1n
    Contributor

    I think including a default dash favicon.ico is better than a 404.

  5. chriddyp commented on Sep 25, 2018

    @chriddyp
    Member

    Here are some favicons we could use
    dash-favicons.zip

  6. self-assigned this
    on Sep 26, 2018
  7. T4rk1n commented on Sep 26, 2018

    @T4rk1n
    Contributor

    I will add the favicon.ico in the zip as the default favicon.

  8. added a commit that references this issue on Apr 23, 2019
  9. added a commit that references this issue on May 28, 2021
  10. added a commit that references this issue on Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions