Module

Developer
Supported

Sitemap Module

ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Error when URL has & in string

Support (Resolved)

Cartegraph
Cartegraph

With the way my SPA is working, I have to have & in the url. This however returns me an error. Is there a work around?

Cartegraph
# 1
Cartegraph

Found a fix.

Insert after line 214:

$location str_replace('&''&'$location); 
PutYourLightsOn
# 2
Developer
PutYourLightsOn

this seems like a valid fix for your unique situation but i would recommend against it as a general rule. thanks for posting your code.

Cartegraph
# 3
Cartegraph

Completely agree. Makes updating a nightmare!