You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Secondary site doesn't love queries; the expected responses are 200 or 400. I got 404 here:
Primary site is ok. It gives a 400 error if query not found on database:
The text was updated successfully, but these errors were encountered:
NimeCloud
changed the title
Cannot use Composite.Core.Routing.Pages.C1PageRoute.RegisterPathInfoUsage() on secondary hostnames
Cannot use Composite.Core.Routing.Pages.C1PageRoute.RegisterPathInfoUsage() on secondary hostnames' home page
Jan 25, 2023
Hi!
I've got a main domain and a few secondary domains.
Main: izsmmmo.org.tr
Secondary : izsm.link
I also get the secondary site using page link on main domain: izsmmmo.org.tr/link
I need to intercept the first query string. On the main domain it works: https://izsmmmo.org.tr/link/random3732
I get "random3732" as expected.
However; at the secondary domain I got 404 error: https://izsm.link/random3732
If I left the query empty; the page appears with no error: https://izsm.link/
It seems like Composite.Core.Routing.Pages.C1PageRoute.RegisterPathInfoUsage(); won't work on secondary domains' root page.
Is it bug or feature and how can I fix it? I don't want to use another page https://izsm.link/go/random3732 if possible...
Secondary site is ok without any query:
Secondary site doesn't love queries; the expected responses are 200 or 400. I got 404 here:
Primary site is ok. It gives a 400 error if query not found on database:
The text was updated successfully, but these errors were encountered: