Comments (5)
I am unable to reproduce this issue. URLs with dots in them are working fine for me. It seems to be thought that this is an issue with polymer serve, maybe the version of polymer serve makes a difference? Mine is 1.3.1. Or can the issue be narrowed down? Are the routes not working at all for you or only in particular contexts?
Btw I tested by renaming "dn" to "d.n" and "dn1" to "dn1.1" everywhere, and checking if the site still worked when using those modified uids, and it did work.
from suttacentral.
Did you try the MWE I posted on stackoverflow or did you try the next-sc full version? I've got 1.3.1 also.
Routes with any dots in are not working at all. Also tried dn1.1, etc. as you did.
And yes, as per the bug-report on Polyserve I posted above, it is indeed something to do with polyserve.
from suttacentral.
Well it's important to narrow the issue down. I'm having trouble working out if there is a problem with app-route at all, I don't think so, I pored over the source code and couldn't see any reference to '.', so the issue would seem to be strictly to do with the backend - polymer-cli in this case. I also tried modifying the tests to add urls with periods, these tests ran fine when executed in the browser, but crapped out when executed from polymer test, which strengthens the hypothesis that app-route is working fine.
from suttacentral.
Okay how about this as a resolution:
Use python server/app.py
instead. I've updated it and it seems to work perfectly both normally and when refreshing/directly browsing to a page, I'm not seeing any problems with urls with periods in them.
from suttacentral.
With python it works fine. Thanks for that.
I had also come to the conclusion that it is not app-route itself because the problem occurs already before app-route or iron-location is activated.
from suttacentral.
Related Issues (20)
- Redesign SERP and instant search input box to match latest Material Design HOT 5
- Document Language list does not update on SERP when settings change HOT 3
- Add a search button to the input field on SERP HOT 4
- `volpage:` search is returning lots of wrong and unnecessary results HOT 3
- Instant search should be prioritizing actual matches over typo suggestions HOT 1
- Texts without any subheadings are sometimes getting TOC buttons and empty overlays HOT 1
- Filter (collection) parameters must be able to include dashes HOT 1
- Only return one translation of any given text with preference to segmented texts HOT 1
- Double blank dictionary results are returned for `uppādetv` match partial HOT 5
- Currency drop down on form on donate-now page drops up and hides behind header HOT 3
- provide option for other site search, eg. DuckDuckGo?
- make UI for using Dictionaries more directly?
- pull in results from CPD? (http://pali.hum.ku.dk/cpd/search.html)
- During build, duplicate key error for Geiger SN1 and SN2 HOT 12
- Make the search urls more human readable by substituting spaces with `+` signs
- Incorrect "You're offline" message for invalid URLs HOT 1
- In the Algolia search, operators should not be searched as keywords
- Highlighted Pali search keywords are missing diacritics on the full database search result page HOT 6
- If no document languages are selected, then explicitly search in all documents HOT 3
- If there are no search results on SERP, check to see if user's site language and search document language match HOT 7
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 suttacentral.