Comments (4)
If you have set all necessary domain records, try to change line 66 of Classes/Service/PatternService.php to: $subdomain = implode('.', array_reverse($reverseHost));
It works better for me.
from hosts_pattern.
Hi Atomschinken,
Thank you for the report and sorry for the very long delay. Could you give me a more detailed problem description? Currently I don't know which issue is solved with changing the line.
from hosts_pattern.
Hi IchHabRecht,
iirc the problem was after splitting the hostname the parts are reversed to extract the domain.
So when the parts left are combined again for the subdomain they are not correctly ordered.
Example:
www.subdomain.test.de
Explode+reverse:
de
test
subdomain
www
Take the first two parts to get the domain name:
test.de
Now just imploding the rest to get the subdomain would result in this:
subdomain.www.test.de
Regards,
from hosts_pattern.
Hi Atomschinken,
Thank you for your detailed information. I'm happy to say that this issue was already fixed with commit 180e1a9. Unfortunately I haven't seen before that this issue is from 2014.
from hosts_pattern.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hosts_pattern.