mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
[GH-ISSUE #235] slash error #713
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#713
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @fyher on GitHub (Nov 14, 2019).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/235
i have this
Error occurred while trying to read the file Url : https:/raw.githubusercontent.com/flyimg/graphic-assets/master/logo/raster/flyimg-logo-rgb.png
but I test /upload/w_300/https://raw.githubusercontent.com/flyimg/graphic-assets/master/logo/raster/flyimg-logo-rgb.png
thanks
@sadok-f commented on GitHub (Nov 14, 2019):
Hi @fyher
Thank you for reporting the issue.
Could you please specifiy more details about it?
@fyher commented on GitHub (Nov 15, 2019):
I don't know , I have the docker image, it's work on server A , i install it on server B and now I have this bug. I send https://raw.githubusercontent.com/flyimg/graphic-assets/master/logo/raster/flyimg-logo-rgb.png and the code receive just http::/ , is delete one slash
i have open the code and is nos good, I add str_replace("http:/","http://"...) and its work :(
@fyher commented on GitHub (Nov 15, 2019):
you can see it here http://flyimg.nolohi.fr and http://flyimg.nolohi.fr/upload/w_300/https://raw.githubusercontent.com/flyimg/graphic-assets/master/logo/raster/flyimg-logo-rgb.png
@sadok-f commented on GitHub (Nov 15, 2019):
how is the configuration for the server B ?
I mean in
http://flyimg.nolohi.fryour run Flyimg behind a reverse proxy? can you past here the configuration?@fyher commented on GitHub (Nov 15, 2019):
is the same config for the server A ,
the docker config
flyimg:
image: flyimg/flyimg-build
restart: always
ports:
- 8089:80
networks:
noholi:
aliases:
- flyimagenolohi.com
@sadok-f commented on GitHub (Nov 15, 2019):
I mean the reverse proxy behind your domain http://flyimg.nolohi.fr
since accessing directly the running container: http://flyimg.nolohi.fr:8089/upload/w_300/https://raw.githubusercontent.com/flyimg/graphic-assets/master/logo/raster/flyimg-logo-rgb.png
is working perfectly.
So it should be something in the reverse proxy that redirects the traffic to the container on port 8089
@fyher commented on GitHub (Nov 15, 2019):
the conf
<VirtualHost *:80>
ServerName flyimg.nolohi.fr
CustomLog /var/log/apache2/secure_access.log combined
<Proxy *>
Allow from 127.0.0.1
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8089/
ProxyPassReverse / http://127.0.0.1:8089/
ProxyRequests Off
@sadok-f commented on GitHub (Nov 20, 2019):
Sorry for my late response, honestly it looks an issue from the apache configuration which remove the double slash, you can play with configuration and try to find out where it happens.
but isn't from the Flyimg code source.
@HagenMorano commented on GitHub (Dec 28, 2019):
Ran into the same problem on nginx. Fixed by adding
merge_slashes off;to nginx config.@sadok-f commented on GitHub (Oct 23, 2023):
Hi @fyher
I'm wondering if you still use Flyimg in your company/organisation ?
If so, it would be great if you could add your entry here in the Adoperts file
https://github.com/flyimg/flyimg/blob/main/ADOPTERS.md
many thanks!